http://bugs.winehq.org/show_bug.cgi?id=26543
Summary: Second press on monthcal drop down button doesn't working Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comctl32 AssignedTo: wine-bugs@winehq.org ReportedBy: nvsa@bk.ru
Created an attachment (id=33801) --> (http://bugs.winehq.org/attachment.cgi?id=33801) trace with WINEDEBUG=+monthcal
After selecting date in monthcal control by pressing button second press doesn't create calendar window. After third press application exits with Segmentation fault. So user cannon change date using calendar. Changing date in textbox works.
Bug appears in Medialog software (medical database). Software is written on Delphi.
http://bugs.winehq.org/show_bug.cgi?id=26543
--- Comment #1 from Novoselov Alexandr nvsa@bk.ru 2011-03-24 10:38:13 CDT --- Created an attachment (id=33802) --> (http://bugs.winehq.org/attachment.cgi?id=33802) screenshot
http://bugs.winehq.org/show_bug.cgi?id=26543
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com 2011-03-24 10:40:27 CDT --- (In reply to comment #0)
After selecting date in monthcal control by pressing button second press doesn't create calendar window. After third press application exits with Segmentation fault.
I'm not sure I understand. There's no need to press a button anything to create calendar window, when Monthcal control is created it already at least one calendar.
So user cannon change date using calendar. Changing date in textbox works.
Monthcal has only one textbox - updown to change a year, do you mean it?
Now I'll try to decipher this. I think you're talking about Datetime control that create Monthcal internally, right? If the problem is that Datetime doesn't create Monthcal window each time dropdown is pressed, but use always the same window - this is covered by test already (see test_dtm_get_monthcal ).
So what's a problem exactly?
http://bugs.winehq.org/show_bug.cgi?id=26543
--- Comment #3 from Novoselov Alexandr nvsa@bk.ru 2011-03-24 10:53:40 CDT --- Sorry for my English. Look at new screenshot attachment. 1) User want to set the date and he press the button, 2) user picks some date in calendar, 3) user want to change date using calendar, but calendar doesn't appear again
http://bugs.winehq.org/show_bug.cgi?id=26543
--- Comment #4 from Novoselov Alexandr nvsa@bk.ru 2011-03-24 10:54:19 CDT --- Created an attachment (id=33803) --> (http://bugs.winehq.org/attachment.cgi?id=33803) stages
http://bugs.winehq.org/show_bug.cgi?id=26543
Novoselov Alexandr nvsa@bk.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=17027
http://bugs.winehq.org/show_bug.cgi?id=26543
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com 2011-03-24 11:12:33 CDT --- 1) Did you try with native comctl32? 2) Do you have access to sources? 3) What is your wine version?
http://bugs.winehq.org/show_bug.cgi?id=26543
--- Comment #6 from Novoselov Alexandr nvsa@bk.ru 2011-03-24 12:02:06 CDT --- (In reply to comment #5)
- Did you try with native comctl32?
with native comctl32 it's working good
- Do you have access to sources?
no
- What is your wine version?
1.3.15 and 1.3.16 from git
http://bugs.winehq.org/show_bug.cgi?id=26543
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.16
http://bugs.winehq.org/show_bug.cgi?id=26543
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com 2011-03-24 12:11:58 CDT --- Ok, this is kind of suspicious:
--- trace:monthcal:MONTHCAL_WindowProc hwnd=(nil) msg=1002 wparam=0 lparam=71ad5fc trace:monthcal:MONTHCAL_WindowProc hwnd=(nil) msg=1009 wparam=0 lparam=32ead4 trace:monthcal:MONTHCAL_WindowProc hwnd=(nil) msg=46 wparam=0 lparam=32ea3c ---
I think this can happen only if application subclasses Monthcal and for some reason sends null window handle.
http://bugs.winehq.org/show_bug.cgi?id=26543
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com 2011-09-30 14:54:47 CDT --- Please try with current wine, I made a lot of changes in monthcal code recently.
This also reminds me about datetimepicker problem about inner monthcal creation problem, so this time I need +datetime,+monthcal,+tid to be sure.
http://bugs.winehq.org/show_bug.cgi?id=26543
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Second press on monthcal |Second press on monthcal |drop down button doesn't |drop down button doesn't |working |work
http://bugs.winehq.org/show_bug.cgi?id=26543
--- Comment #9 from Novoselov Alexandr nvsa@bk.ru 2011-10-03 10:29:48 CDT --- Created attachment 36688 --> http://bugs.winehq.org/attachment.cgi?id=36688 trace wine1.3.29 WINEDEBUG=+datetime,+monthcal,+tid
trace wine1.3.29 WINEDEBUG=+datetime,+monthcal,+tid
http://bugs.winehq.org/show_bug.cgi?id=26543
--- Comment #10 from Novoselov Alexandr nvsa@bk.ru 2011-10-03 10:37:56 CDT --- wine-1.3.29
here new trace with +datetime,+monthcal,+tid http://bugs.winehq.org/attachment.cgi?id=36688
it doesn't work with same behaviour. Application hangs after second press on DATETIME_LButtonDown
it works with native comctl32
http://bugs.winehq.org/show_bug.cgi?id=26543
--- Comment #11 from Austin English austinenglish@gmail.com 2013-11-13 16:51:24 CST --- This is your friendly reminder that there has been no bug activity for 2 years. Is this still an issue in current (1.7.6 or newer) wine? If so, please attach the terminal output in 1.7.6 (see http://wiki.winehq.org/FAQ#get_log).
http://bugs.winehq.org/show_bug.cgi?id=26543
Novoselov Alexandr nvsa@bk.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.3.16 |1.7.4
http://bugs.winehq.org/show_bug.cgi?id=26543
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.7.4 |1.3.16
--- Comment #12 from Bruno Jesus 00cpxxx@gmail.com 2013-11-14 06:21:42 CST --- Please don't change the original reported version, a comment stating the bug is still present in wine version x.y.z is enough.
http://bugs.winehq.org/show_bug.cgi?id=26543
--- Comment #13 from Novoselov Alexandr nvsa@bk.ru 2013-11-14 06:29:59 CST --- Created attachment 46522 --> http://bugs.winehq.org/attachment.cgi?id=46522 trace wine1.7.4 WINEDEBUG=+datetime,+monthcal,+tid
https://bugs.winehq.org/show_bug.cgi?id=26543
--- Comment #14 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for 1 year. Is this still an issue in current (1.7.31 or newer) wine? If so, please attach the terminal output in 1.7.31 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=26543
--- Comment #15 from Novoselov Alexandr nvsa@bk.ru --- Created attachment 50002 --> https://bugs.winehq.org/attachment.cgi?id=50002 trace wine1.7.31 WINEDEBUG=+datetime,+monthcal,+tid
https://bugs.winehq.org/show_bug.cgi?id=26543
--- Comment #16 from Ken Sharp imwellcushtymelike@gmail.com --- Does this still occur in Wine 9.8 or later?