[Bug 18949] New: Few GUI bugs - demonstrated with test application (attachment)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jun 14 18:48:25 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=18949

           Summary: Few GUI bugs - demonstrated with test application
                    (attachment)
           Product: Wine
           Version: 1.1.22
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: martinez.pr0team at gmail.com


Created an attachment (id=21797)
 --> (http://bugs.winehq.org/attachment.cgi?id=21797)
This application demonstrates mentioned bugs.

Please test this application on Windows first to see how it should work
properly.

1) ListView
    a) it's possible to resize column size even the HDN_ITEMCHANGING,
HDN_BEGINTRACK, HDN_ITEMCHANGED and HDN_ENDTRACK
    (WM_NOTIFY) messages are caught in WindowProc and forced to return TRUE.
    b) why it's possible to move (drag) column headers while the order can't be
changed?
    c) font changed in WM_NOTIFY->NM_CUSTOMDRAW->CDDS_ITEMPREPAINT works only
for the first column, and even there the
    font is bad - it's only ITALIC, while it should be BOLD+ITALIC+UNDERLINE.

2) CheckBox
    a) the font is not BOLD (it's the same font as used in LV) - a problem in
CreateFontIndirect()?

3) Menu - MF_OWNERDRAW
    a) 2 problems: the default item in owner drawn menu should be indicated
with ODS_DEFAULT in the itemState member
    of DRAWITEMSTRUCT. Also, when it comes to owner-draw a defaulted item, the
BOLD font should be already selected in
    the DC (hDC in DRAWITEMSTRUCT) by OS.
    b) SetMenuInfo() with MIM_BACKGROUND for setting a menu background is not
implemented.
###    c) bug in MoveToEx()? I set MoveToEx(hDC, 1, top+10, NULL), but the
result is like it would
    be MoveToEx(hDC, 0, top+10, NULL). All drawing results are displaced by 1px
to the left. Demonstrated by
    the blue line - simply compare to Windows.

4) WM_NCLBUTTONDOWN - allows to move the window by clicking in its client area
    a) very buggy, makes difficult to use CheckBox, ComboBox, headers in LV and
possibly many more.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list