[Bug 53598] New: Wrong icons in MDI child menu title bar
https://bugs.winehq.org/show_bug.cgi?id=53598 Bug ID: 53598 Summary: Wrong icons in MDI child menu title bar Product: Wine Version: 7.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: user32 Assignee: wine-bugs(a)winehq.org Reporter: vz-wine(a)zeitlins.org Distribution: --- In Wine 7 MDI child windows show strange icons in their title bar (looking like "0", "1" and some strange rectangular shape, respectively) instead of the expected standard minimize/restore/close buttons. This used to work in Wine 4 and possibly later, I could run git-bisect if really necessary, but it's going to take some time to rebuild Wine ~15 times, so maybe someone can see where does the problem come from without doing this? Also, I don't provide a reproducer because I believe this affects any program using MDI, but please let me know if one is needed (and in which form, source or binary). -- 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.
https://bugs.winehq.org/show_bug.cgi?id=53598 Zhiyi Zhang <zzhang(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhang(a)codeweavers.com --- Comment #1 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- An example with source would be nice. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=53598 --- Comment #2 from VZ <vz-wine(a)zeitlins.org> --- Just to check (I suspect I know the answer, but writing code using MDI via Win32 API is so painful that I'd still like to ask): would an example using wxWidgets be acceptable by chance? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=53598 --- Comment #3 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- wxWidgets is open source so it's ok. It's more work though. So it would be better if you can use win32 api directly. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=53598 --- Comment #4 from Nikolay Sivov <bunglehead(a)gmail.com> --- (In reply to VZ from comment #0)
In Wine 7 MDI child windows show strange icons in their title bar (looking like "0", "1" and some strange rectangular shape, respectively) instead of the expected standard minimize/restore/close buttons.
Frame button glyphs are supposed to come from Marlett font that wine provides. It sounds like for some reason your installation can't access it, and is using some other font that produces digits instead of symbols. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=53598 --- Comment #5 from VZ <vz-wine(a)zeitlins.org> --- My first thought was that some font was missing, but I double-checked and fonts-wine package, which includes Marlett (see https://packages.debian.org/bookworm/all/fonts-wine/filelist), is installed. Is there some simple way to debug why is it not being used if this is indeed the case? TIA! -- 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.
https://bugs.winehq.org/show_bug.cgi?id=53598 --- Comment #6 from VZ <vz-wine(a)zeitlins.org> --- So after running wine under strace I found that it never looked for the fonts installed by the Debian fonts-wine package under /usr/share/wine/fonts at all. This seems to be due to the system configuration in /etc/fonts/fonts.conf, so it's probably not a Wine problem at all, but perhaps it should look in the Wine-specific directory in any case, at least as a fallback? If not, this bug should be just closed (and maybe another one should be opened for the Debian package...). In any case, copying /usr/share/wine/fonts/marlett.ttf to ~/.local/share/fonts was enough to fix this issue -- just in case anybody else runs into it. -- 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.
participants (1)
-
WineHQ Bugzilla