[Bug 30341] Windows not properly maximized

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Apr 4 05:18:10 CDT 2012


--- Comment #4 from Ralf Jung <ralfjung-e at gmx.de> 2012-04-04 05:18:10 CDT ---
Wine should not care or even know whether a title bar is shown or not - that's
up to the window manager. Some (all?) tiling window managers also do not show a
title bar if you have just one window shown, and proper X clients will work
just fine.
I modified ons of my windows applications to manually set the window size to
1366x768 on startup. For some reason, wine resizes it to 1366x753. This looks
to me like wine is doing... something when a resize request comes in, instead
of just resizing the window to the target size. If I re-compile the same
application for Linux (it's using Qt), the resize behaves as expected. And if I
add title bars and change the resize to 1366x748, it's working fine for both
the Linux and Window version of the program.

It almost looks like wine caps the vertical size of a window? If I leave the
window un-maximized and increase the vertical size manually above the screen
height, the lower part of the window does not get re-drawn at all. It's hard to
tell the exact height of the area of the window which is still properly drawn
(since the title bar and parts of the undrawn area at the bottom have the same
color as the window background), but it is a little smaller than the screen
height. It could be exactly those 15 pixels it is also missing after
(During these experiments, I also noticed that if I stretch the window
horizontally, above the screen width, the same effect can be seen - but the
area which is still drawn is exactly as wide as my screen, not 15 pixels
smaller than it). The redraw bug also affects regedit, so this is not just
something Qt is doing wrong.

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