http://bugs.winehq.org/show_bug.cgi?id=21676
Summary: Plants vs Zombies is stretched on widescreen monitors Product: Wine Version: 1.1.38 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: malteskarupke@web.de
Plants vs Zombies is stretched on widescreen monitors. In Windows the game displays black bars on both sides of the screen instead. (see http://www.widescreengamingforum.com/forum/viewtopic.php?t=16096 for example screenshots for the desired behavior)
This results in seemingly erroneous mouse input. Because the game assumes, that it is not stretched, and that there are black bars on the side. The attached screenshot illustrates the problem. In that screenshot, my mouse is at the position where the Quit button should be, (and the Quit button is highlighted as a result) but the button is displayed further to the right because the display is stretched. While this is a minor problem in the menu, once inside the game it is really annoying, because you always have to click slightly to the side of where you want things to go. And collecting coins or sun is very annoying, because it is supposed to be just mindless clicking, but now you never get the location right on the first try.
This bug has only been present since 1.1.38, because before that the game suffered from (the similar, but worse) bug 19373. I think that bug and and this bug are related. That bug drew the game at the wrong position, and this bug draws the game in the wrong size.
The bug is also present in the free demo version of the game, so that can be used for testing.
http://bugs.winehq.org/show_bug.cgi?id=21676
--- Comment #1 from Malte Skarupke malteskarupke@web.de 2010-02-10 10:33:38 --- Created an attachment (id=26186) --> (http://bugs.winehq.org/attachment.cgi?id=26186) The stretched main menu of PvZ and the resultant erroneous mouse behavior. My mouse is hovering over the Quit button, but since the game is stretched, the button is displayed further to the side.
http://bugs.winehq.org/show_bug.cgi?id=21676
Jaime Rave jaimerave@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jaimerave@gmail.com
--- Comment #2 from Jaime Rave jaimerave@gmail.com 2010-02-10 11:30:31 --- Confirming, I have the same problem here. It only happen when playing full screen. I think is the only issue left to get this game in platinum status.
http://bugs.winehq.org/show_bug.cgi?id=21676
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2010-02-10 20:40:47 --- Confirming per comment #2.
http://bugs.winehq.org/show_bug.cgi?id=21676
ross_sheldon@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ross_sheldon@hotmail.com
--- Comment #4 from ross_sheldon@hotmail.com 2010-02-11 12:27:14 --- I can confirm this also, but It only fails when using 3d acceleration. If I turn off 3d acceleration, the screen is still stretched, but the mouse coordinates work right.
http://bugs.winehq.org/show_bug.cgi?id=21676
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #5 from Wylda wylda@volny.cz 2010-03-19 16:51:05 ---
Confirming, still happens under wine-1.1.41.
Physical screen resolution: 1920x1200
WinXP video uses: 1920x1200, but only 1600x1200 is painted WinXP mouse uses: 1920x1200 (can move over black area on left & right side)
Wine video uses: 1920x1200 (stretched) Wine mouse uses: 1920x1200 (so it does not points to the menu item, like QUIT)
Download: http://www.popcap.com/games/pvz
http://bugs.winehq.org/show_bug.cgi?id=21676
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.popcap.com/games | |/pvz
--- Comment #6 from Wylda wylda@volny.cz 2010-06-20 08:04:14 ---
Still present in wine-1.2-rc4.
Based on Henri's commit (http://source.winehq.org/git/wine.git/?a=commit;h=93c49f1777764658192eed75e9...), which help this game earlier (bug 19373) i played with following values.
Game normally uses: currentDesc.Width = 800 currentDesc.Height = 600
and when i manually hardwired to: currentDesc.Width = 1024 currentDesc.Height = 600
Game got correct picture size even on 16:10 (1920x1200). Maybe some kind of miscalculation for wide screens? (no idea what i was changing;)
http://bugs.winehq.org/show_bug.cgi?id=21676
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #7 from Jerome Leclanche adys.wh@gmail.com 2010-09-20 20:26:21 CDT --- Still present in wine-1.3.3.
http://bugs.winehq.org/show_bug.cgi?id=21676
--- Comment #8 from Henri Verbeet hverbeet@gmail.com 2010-10-06 05:06:07 CDT --- Does this still happen with current git? 5fa84c56c344927dcb13b12409fbf64d738438f4 might have some effect on this as well.
http://bugs.winehq.org/show_bug.cgi?id=21676
--- Comment #9 from Jerome Leclanche adys.wh@gmail.com 2010-10-07 12:10:29 CDT --- (In reply to comment #8)
Does this still happen with current git? 5fa84c56c344927dcb13b12409fbf64d738438f4 might have some effect on this as well.
Thanks, it's fixed.
http://bugs.winehq.org/show_bug.cgi?id=21676
--- Comment #10 from Wylda wylda@volny.cz 2010-10-07 16:02:17 CDT ---
Indeed fixed, thanks Henri.
Jerome, do you saw the same problem like me in bug 24662?
http://bugs.winehq.org/show_bug.cgi?id=21676
--- Comment #11 from Jerome Leclanche adys.wh@gmail.com 2010-10-07 16:14:23 CDT --- (In reply to comment #10)
Indeed fixed, thanks Henri.
Jerome, do you saw the same problem like me in bug 24662?
Yeah. I didn't think much of it, since I don't have a windows screenshot to compare to, but it looked extremely jagged.
http://bugs.winehq.org/show_bug.cgi?id=21676
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #12 from Wylda wylda@volny.cz 2010-10-07 16:38:13 CDT ---
Fixed now.
http://bugs.winehq.org/show_bug.cgi?id=21676
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org 2010-10-15 12:52:39 CDT --- Closing bugs fixed in 1.3.5.