http://bugs.winehq.org/show_bug.cgi?id=16060
Summary: comctl32, gfi32, user32: tests fail, when dpi is not the default (96) Product: Wine Version: 1.1.8 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: comctl32 AssignedTo: wine-bugs@winehq.org ReportedBy: wine.dev@web.de
Created an attachment (id=17288) --> (http://bugs.winehq.org/attachment.cgi?id=17288) patch to dump tm.tmHeight
(As requested by Dmitry, one bug for all)
Current known tests, that fail, when dpi is not 96 (The Implementation was not checked yet): comctrl32:monthcal comctrl32:rebar comctrl32:status comctrl32:tab comctrl32:toolbar comctrl32:treeview gdi:font user32:combo
Implementations known to have bugs, where the related tests are fixed: comctl32/header (VERT_BORDER must be 2)
Fixing the heigh of the system font will make more hidden bugs in the Wine tree visible.
----------------------
A difference found during research is the tm.tmHeight of the system font. (GetTextMetrics) w98 (72, 96 dpi): 16 w98 (120): 20 w98 is broken for 144 and 192 dpi: 16
w2k (72, 96 dpi): 16 w2k (120, 144, 192 dpi): 20
Wine: always 16
The attached patch for dlls/comctrl32/tests/status.c dump tm.tmHeight (the first value after "expect")
http://bugs.winehq.org/show_bug.cgi?id=16060
Detlef Riekenberg wine.dev@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|comctl32, gfi32, user32: |comctl32, gdi32, user32: |tests fail, when dpi is not |tests fail, when dpi is not |the default (96) |the default (96)
http://bugs.winehq.org/show_bug.cgi?id=16060
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=16060
Detlef Riekenberg wine.dev@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |4045
http://bugs.winehq.org/show_bug.cgi?id=16060
--- Comment #1 from Detlef Riekenberg wine.dev@web.de 2009-01-25 06:18:39 --- Created an attachment (id=18980) --> (http://bugs.winehq.org/attachment.cgi?id=18980) updated status test.
I updated the status test. Please run the modified "comctl32_crosstest status" on Windows (with a dpi != 96) on XP or heigher and attach the result. (I tested w2k and win98se. 9x is broken)
Thanks.
http://bugs.winehq.org/show_bug.cgi?id=16060
--- Comment #2 from Detlef Riekenberg wine.dev@web.de 2009-01-25 06:24:33 --- (In reply to comment #1)
Created an attachment (id=18980)
--> (http://bugs.winehq.org/attachment.cgi?id=18980) [details]
updated status test.
$ sha1sum comctl32_crosstest.exe 01f4ce1bf8cb0536b87d865d75a5d9ed16f33cb7 comctl32_crosstest.exe
http://bugs.winehq.org/show_bug.cgi?id=16060
--- Comment #3 from Andrew Nguyen arethusa26@gmail.com 2009-01-25 06:38:42 --- Created an attachment (id=18981) --> (http://bugs.winehq.org/attachment.cgi?id=18981) Modified comctl32 test results (120 dpi)
http://bugs.winehq.org/show_bug.cgi?id=16060
--- Comment #4 from Detlef Riekenberg wine.dev@web.de 2009-03-22 17:47:21 --- comctl32:status works now.
http://bugs.winehq.org/show_bug.cgi?id=16060
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com 2009-06-08 16:16:32 --- Patch sent to fix listview failures:
http://www.winehq.org/pipermail/wine-patches/2009-June/073995.html
http://bugs.winehq.org/show_bug.cgi?id=16060
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com 2009-06-09 13:52:41 --- (In reply to comment #5)
Patch sent to fix listview failures:
http://www.winehq.org/pipermail/wine-patches/2009-June/073995.html
Listview patch committed:
http://source.winehq.org/git/wine.git/?a=commit;h=f531271d707bd0e5ce922fb68d...
http://bugs.winehq.org/show_bug.cgi?id=16060
Paul Vriens Paul.Vriens.Wine@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Paul.Vriens.Wine@gmail.com
--- Comment #7 from Paul Vriens Paul.Vriens.Wine@gmail.com 2009-06-10 01:15:18 --- Two others with this dpi issue:
riched20:editor riched32:editor
The last one is because one of the lines ("TestSomeText TestSomeText") is wider than the width of the window (233 vs 200) with a 120 dpi setting, so it wraps.
http://bugs.winehq.org/show_bug.cgi?id=16060
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com 2009-10-19 10:06:08 --- Monthcal tests shouldn't depend on dpi now with:
http://source.winehq.org/git/wine.git/?a=commit;h=1ab851a1bd8a2aa17ec7b1545f...
http://bugs.winehq.org/show_bug.cgi?id=16060
--- Comment #9 from Austin English austinenglish@gmail.com 2010-11-24 07:17:57 CST --- In wine-1.3.7-207-gb6a1951, I still get failures in: comctl32:listview: http://test.winehq.org/data/b6a19519250e17d07738935ebb0ccc344d143250/wine_au... and gdi32:metafile: http://test.winehq.org/data/b6a19519250e17d07738935ebb0ccc344d143250/wine_au...
(with DPI 160)
http://bugs.winehq.org/show_bug.cgi?id=16060
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com
--- Comment #10 from Vijay Kamuju infyquest@gmail.com 2011-09-10 04:28:21 CDT --- please verify if this issue is present in latest wine
http://bugs.winehq.org/show_bug.cgi?id=16060
butraxz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |butraxz@gmail.com
--- Comment #11 from butraxz@gmail.com 2013-04-21 14:41:21 CDT --- No update for over 900 days. Is still an issue with 1.5.28 or higher ?
https://bugs.winehq.org/show_bug.cgi?id=16060
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase
https://bugs.winehq.org/show_bug.cgi?id=16060
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #12 from joaopa jeremielapuree@yahoo.fr --- Still a bug in current wine? Otherwise 3 years old bug without answer. Could be marked as ABNDONED ?
https://bugs.winehq.org/show_bug.cgi?id=16060
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #13 from winetest@luukku.com --- (In reply to joaopa from comment #12)
Still a bug in current wine? Otherwise 3 years old bug without answer. Could be marked as ABNDONED ?
No. This blocks bug 4045 which seems to be quite important.
https://bugs.winehq.org/show_bug.cgi?id=16060
rebe@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rebe@gmx.net
--- Comment #14 from rebe@gmx.net --- Is the attached test program from 2009 still applicable?
https://bugs.winehq.org/show_bug.cgi?id=16060
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|comctl32, gdi32, user32: |comctl32:tab, gdi32:font, |tests fail, when dpi is not |user32:combo and others |the default (96) |fail when dpi is not the | |default (96) CC| |fgouget@codeweavers.com