http://bugs.winehq.org/show_bug.cgi?id=10839
Summary: The virtual desktop should be resizable Product: Wine Version: unspecified Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: wine-tools AssignedTo: wine-bugs@winehq.org ReportedBy: thedamocles@gmail.com
When running using a virtual desktop, Wine create a window with a fixed size (for example 640x480). And when the application running requires another resolution, the size of the virtual desktop changes.
But the window itself (which contains the virtual desktop) is unmaximisable and unresizable. For some old games that require an old resolution it would be convenient to be able to resize and maximise the window of the virtual desktop.
The virtual desktop itself (inside the window) should just be put in the center of the window with some black border. Only the window should resizable.
Then, we could be able to run application with a false fullscreen resolution with the virtual desktop in the center of the screen using (for example) the function "toggle fullscreen mode" of Gnome.
It would even be better to add an option "Run Fullscreen" to the virtual desktop of winecfg to run this false fullscreen. The expected result being to have a black screen in front of everything (panel, other windows) and the virtual desktop put in the center.
http://bugs.winehq.org/show_bug.cgi?id=10839
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2007-12-20 07:14:16 --- Do you mean that resizing the desktop window should imply the resolution change? That's not how it's supposed to work.
http://bugs.winehq.org/show_bug.cgi?id=10839
--- Comment #2 from Sébastien Bertrand thedamocles@gmail.com 2007-12-20 07:39:52 --- (In reply to comment #1)
Do you mean that resizing the desktop window should imply the resolution change? That's not how it's supposed to work.
No, there is two "things" :
* The virtual desktop, that is inside the window * The window, whinch contain the virtual desktop
The virtual desktop have the size of the resolution and it's just fine, if the resolution is too big, the virtual desktop do not fit inside the screen, but that is fine.
On the other hand, the window (manage by the WM) should be resizable, so we could be able to toggle it in fullscreen mode (that a function of some WM). The virtual desktop should just always be put in the center of this window (even if the window is too small).
I think that it would even be better if wine manage this fullscreen mode entirely.
I join three mockups explaining the problem.
When I run Warcraft III without a virtual desktop, everything work well, but when I switch to my desktop (for example to chat), my desktop is in 1024x768, which is not convenient. With this false "fullscreen mode", it would be just perfect !
http://bugs.winehq.org/show_bug.cgi?id=10839
--- Comment #3 from Sébastien Bertrand thedamocles@gmail.com 2007-12-20 07:44:29 --- Created an attachment (id=9718) --> (http://bugs.winehq.org/attachment.cgi?id=9718) The actual virtual desktop
http://bugs.winehq.org/show_bug.cgi?id=10839
--- Comment #4 from Sébastien Bertrand thedamocles@gmail.com 2007-12-20 07:46:57 --- Created an attachment (id=9719) --> (http://bugs.winehq.org/attachment.cgi?id=9719) The virual desktop in "fullscreen mode"
http://bugs.winehq.org/show_bug.cgi?id=10839
--- Comment #5 from Sébastien Bertrand thedamocles@gmail.com 2007-12-20 07:48:04 --- Created an attachment (id=9720) --> (http://bugs.winehq.org/attachment.cgi?id=9720) The virual desktop in "fullscreen mode", but with another window in focus
http://bugs.winehq.org/show_bug.cgi?id=10839
--- Comment #6 from Jesse Allen the3dfxdude@gmail.com 2007-12-20 10:39:33 --- So you want to stretch the warcraft 3 window because the game only supports 4:3 and not widescreen resolutions? Why not just remove the virtual desktop option and run the game correctly so the display driver will select the correct resolution your monitor can support in the game at fullscreen?
http://bugs.winehq.org/show_bug.cgi?id=10839
--- Comment #7 from Sébastien Bertrand thedamocles@gmail.com 2007-12-20 11:08:00 --- When I run Warcraft III without a virtual desktop, everything work well, but when I switch to my desktop (for example to chat), my desktop is in 1024x768, which is not convenient.
Moreover, some games (like Worms World Party), does not work correctly unless run inside a virtual desktop. This will be also an esay workaround for that sort of problem…
http://bugs.winehq.org/show_bug.cgi?id=10839
--- Comment #8 from Sébastien Bertrand thedamocles@gmail.com 2007-12-20 11:10:37 --- I precise that I want to stretch the warcraft 3 window, but NOT the virtual desktop, because it will be ugly (see attachments).
http://bugs.winehq.org/show_bug.cgi?id=10839
Jesse Allen the3dfxdude@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX
--- Comment #9 from Jesse Allen the3dfxdude@gmail.com 2007-12-20 11:39:27 --- (In reply to comment #8)
I precise that I want to stretch the warcraft 3 window, but NOT the virtual desktop, because it will be ugly (see attachments).
So you don't want to stretch the virtual desktop, only the warcraft 3 window. I don't think there will be any way to stretch a "full-screen window". It's simply not designed to be resized. I think doing so will break alot of the full-screen assumptions, which really can't be accounted for this way anyway.
I don't believe there is anything we can do here. I think the only solution for you is to run the game properly without virtual desktop. Hack the game's resolution registry entry to make the game enter a wide screen mode. Be aware that the game is not meant to run this way and I can't be certain if there are any issues with it. But this way your desktop won't be resized when you switch between the game and other apps. If you want to go windowed, use the game's window option so at least it knows it's windowed.
http://bugs.winehq.org/show_bug.cgi?id=10839
Marco Schuster marco@harddisk.is-a-geek.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marco@harddisk.is-a-geek.org
--- Comment #10 from Marco Schuster marco@harddisk.is-a-geek.org 2007-12-20 11:44:46 --- It nevertheless would be cool to have the ability to remove the window borders and make the thing run in fullscreen; VMWare is a good example how that might work.
Anyways, Windows supports dynamic resolution changing - why shouldn't Wine also?
http://bugs.winehq.org/show_bug.cgi?id=10839
--- Comment #11 from Jesse Allen the3dfxdude@gmail.com 2007-12-20 11:57:00 --- (In reply to comment #10)
It nevertheless would be cool to have the ability to remove the window borders and make the thing run in fullscreen; VMWare is a good example how that might work.
Anyways, Windows supports dynamic resolution changing - why shouldn't Wine also?
You mean switch between a windowed virtual desktop and a full screen mode dynamically? That is interesting, but that is not how I understood his question.
Wine does support dynamic resolution changing. The best thing to do to get it is do it how the game expects which is not to use virtual desktop. And you get full screen modes too.
http://bugs.winehq.org/show_bug.cgi?id=10839
--- Comment #12 from Sébastien Bertrand thedamocles@gmail.com 2007-12-20 12:17:05 ---
You mean switch between a windowed virtual desktop and a full screen mode dynamically? That is interesting, but that is not how I understood his question.
That's true, in simple words, my question was to be able to resize the window of the virtual desktop.
Wine does support dynamic resolution changing. The best thing to do to get it is do it how the game expects which is not to use virtual desktop. And you get full screen modes too.
Maybe that would be better. But I do not really understand why my request will break a lot of the full-screen assumptions. I assume that the window contains a control (such like a gtk.gdk.Pixmap) that is the virtual desktop.
http://bugs.winehq.org/show_bug.cgi?id=10839
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|WONTFIX |
--- Comment #13 from Alexandre Julliard julliard@winehq.org 2007-12-21 04:21:19 --- (In reply to comment #12)
Maybe that would be better. But I do not really understand why my request will break a lot of the full-screen assumptions. I assume that the window contains a control (such like a gtk.gdk.Pixmap) that is the virtual desktop.
No, we don't use gtk widgets or anything of the kind. That doesn't mean it cannot be done, but it's not entirely trivial.
http://bugs.winehq.org/show_bug.cgi?id=10839
--- Comment #14 from Sébastien Bertrand thedamocles@gmail.com 2007-12-21 04:40:37 --- (In reply to comment #10)
It nevertheless would be cool to have the ability to remove the window borders and make the thing run in fullscreen; VMWare is a good example how that might work.
Anyways, Windows supports dynamic resolution changing - why shouldn't Wine also?
Well, after your comment, I opened a bug for this feature : http://bugs.winehq.org/show_bug.cgi?id=10841
I do not understand, is that a problem of Wine, Gnome, or X server ?¿
http://bugs.winehq.org/show_bug.cgi?id=10839
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #15 from Austin English austinenglish@gmail.com 2008-06-17 11:49:59 --- Any chance of this being done by 1.2?
http://bugs.winehq.org/show_bug.cgi?id=10839
Maciej Kowalczyk mikazkow@tlen.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mikazkow@tlen.pl
http://bugs.winehq.org/show_bug.cgi?id=10839
--- Comment #16 from Sébastien Bertrand thedamocles@gmail.com 2008-09-30 12:52:51 --- This bug partially is solved.
In latest versions of Wine (or at least 1.1.5 and after), the window containing virtual desktop is no longer fixed-size. It's possible to maximize it and to fullscreen it.
But :
- The virtual desktop always displays in the top left corner of the window containing it, it would be better if it always displays in the center of the window.
- Wine should display a black background in the entire window to avoid a disgraceful display bug when you fullscreen the window containing the virtual desktop
I don't know is this bug must be closed, or if these two problems should be solved before.
http://bugs.winehq.org/show_bug.cgi?id=10839
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=10839
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #17 from Austin English austinenglish@gmail.com 2009-04-26 20:40:03 --- (In reply to comment #16)
This bug partially is solved.
In latest versions of Wine (or at least 1.1.5 and after), the window containing virtual desktop is no longer fixed-size. It's possible to maximize it and to fullscreen it.
Fixed then.
- The virtual desktop always displays in the top left corner of the window
containing it, it would be better if it always displays in the center of the window.
- Wine should display a black background in the entire window to avoid a
disgraceful display bug when you fullscreen the window containing the virtual desktop
I don't know is this bug must be closed, or if these two problems should be solved before.
File new bugs for that.
http://bugs.winehq.org/show_bug.cgi?id=10839
Sébastien Bertrand thedamocles@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Sébastien Bertrand thedamocles@gmail.com 2009-05-07 12:11:03 --- So this bug is closed. As suggested Austin English, I opened the bug 18380.
http://bugs.winehq.org/show_bug.cgi?id=10839
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|FIXED |
--- Comment #19 from Vincent Povirk madewokherd@gmail.com 2009-05-07 13:32:01 --- Don't close fixed bugs. They will be closed by Alexandre when he does the next release.
http://bugs.winehq.org/show_bug.cgi?id=10839
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #20 from Vincent Povirk madewokherd@gmail.com 2009-05-07 13:32:59 --- Resolving so the bug can be closed later.
http://bugs.winehq.org/show_bug.cgi?id=10839
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #21 from Alexandre Julliard julliard@winehq.org 2009-05-08 12:42:25 --- Closing bugs fixed in 1.1.21.