|
Guinn Wizard
Joined: 03 Mar 2001 Posts: 1127 Location: London
|
Posted: Sat Oct 27, 2007 10:20 am
[2.09] Maximized window not properly maximized |
As the title says, if I maximize a window in 2.09 then it doesn't properly maximize - I can see a small amount of the desktop to the right of it.
It's not just the main CMUD window, if I maximise the sessions window it happens too.
Using Windows Vista on a single monitor btw - guessing Vista might be the key point there.
|
|
_________________ CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;) |
|
|
|
bortaS Magician
Joined: 10 Oct 2000 Posts: 320 Location: Springville, UT
|
Posted: Sat Oct 27, 2007 5:19 pm |
Confirmed.
I'm on Vista Ultimate with a single 19" monitor. The only time I saw the window maximize like it should, was when I closed the session window. |
|
_________________ bortaS
~~ Crusty Klingon Programmer ~~ |
|
|
|
Arde Enchanter
Joined: 09 Sep 2007 Posts: 605
|
Posted: Sat Oct 27, 2007 7:49 pm |
CMUD runs maximized properly on XP.
|
|
_________________ My personal bug|wish list:
-Wrong Priority when copy-paste setting
-1 prompt trigger for Mapper, Session and General Options, not 3 different!
-#SECTION can terminate threads
-Buttons can't start threads |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Oct 29, 2007 9:02 pm |
Yep, it's a Vista issue. Added to bug list.
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Nov 16, 2007 6:20 pm |
OK, I can't reproduce this in v2.11. Can someone else confirm that this is still a problem. Also, please mention what Theme you are using in CMUD and anything else that might be different about your system.
But I just ran 2.11 on my Vista system here and Maximize worked fine. I just closed the Session window to get the main window, then clicked the Maximize button in the upper-right corner. It filled the screen. Tested it both on my normal monitor as well as my wide-screen monitor.
Do you have anything that might be causing Windows to report the wrong screen size? Like do you have some sort of Vista Widgets on the screen, or do you have the Google Desktop bar on the right, or anything like that? |
|
|
|
Guinn Wizard
Joined: 03 Mar 2001 Posts: 1127 Location: London
|
Posted: Fri Nov 16, 2007 7:50 pm |
Still getting the same problem - though bizarrely it seems slightly thinner now.
I'm using OfficeXP theme, though the same happens with Normal, Flat and No Theme.
Not using Vista widgets and no google toolbar or anything else that would try and claim screen space. |
|
_________________ CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;) |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Nov 16, 2007 9:05 pm |
I assume you have all of the Vista updates and the latest driver for your video card? Do you have more than one monitor? I looked at the Delphi code and it's calling the Windows MultiMonitor API and using the "WorkArea" rectangle that is returned from Windows. Neither Delphi nor CMUD is doing any further processing on this. It uses the rcWork rectangle to set the maximum extent of the window.
CMUD isn't calling the Windows "Maximize" routine because this causes problems with the theme engine. So CMUD is just setting the size of the window to whatever is returned as the working size of the monitor containing the window. Then the theme engine repaints the window with the appropriate buttons.
Can any other Vista users try to reproduce this? I need to know if lots of people are seeing this, or if it's just a problem with Guinns system.
Did I mention lately that I don't like Vista ;( |
|
|
|
Arlie Wanderer
Joined: 09 Jun 2006 Posts: 62 Location: Florida
|
Posted: Fri Nov 16, 2007 9:54 pm |
It's still doing it on Vista. It only does it on the second monitor that doesn't contain the taskbar. My guess is it's compensating for imagining the start bar is there, when it really isn't. This isn't a Vista or driver issue, unfortunately; every other app I use works fine maximized, it's only CMud with the problem.
Sorry to hear you're having problems, I've not had a single issue programming against Vista since October of last year. Hope you have better luck soon :)
Edit: Tested on four seperate dev machines, same thing. |
|
|
|
Guinn Wizard
Joined: 03 Mar 2001 Posts: 1127 Location: London
|
Posted: Fri Nov 16, 2007 10:01 pm |
Got it
Turn on Aero and the problem appears, change colour scheme to 'Windows Vista Basic' and the problem goes away.
I can confirm this on both my desktop (nVidia) and laptop (ATI)
(I only have a single monitor setup btw) |
|
_________________ CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;) |
|
|
|
Guinn Wizard
Joined: 03 Mar 2001 Posts: 1127 Location: London
|
Posted: Fri Nov 16, 2007 10:16 pm |
Strange other thing, probably related so might help you track the problem
If you right-click CMUD.exe, select properties and the Compatibility tab, then check 'Disable Visual Themes' then things go really screwy and you lose the rest of the CMUD theming stuff. |
|
_________________ CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;) |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Nov 16, 2007 10:25 pm |
Where are you turning on Aero. I'm not finding the option for that (or 'Windows Vista Basic' either). I'm running the Business edition of Vista in case it matters. I just hate that they keep moving around settings so that everyone has to relearn where everything is.
Do *not* disable Visual Themes in CMUD. CMUD requires that. Turning this off is for pre-XP applications and from CMUD's viewpoint, it makes Vista look more like Windows 98 without the theme API. And CMUD doesn't work with that.
Also, like I said, I'm not calling the Windows Maximize routine...I'm just calling the API to return the current "Work" rectangle for the screen. This Windows API routine is *supposed* to properly account for where the task bar is. Other applications are working because they are calling the normal Windows Maximize routine. And obviously the Vista Maximize routine is doing something more than just asking the monitor for it's work surface.
Anyway, let me know where to find the Aero option and I'll see if I can make it fail. |
|
|
|
Guinn Wizard
Joined: 03 Mar 2001 Posts: 1127 Location: London
|
Posted: Fri Nov 16, 2007 10:30 pm |
desktop
right-click, personalize
click 'window color and appearance'
Business edition shouldn't matter, it's only Home Basic that doesn't have Aero afaik |
|
_________________ CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;) |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Fri Nov 16, 2007 11:27 pm |
I am not going to suggest that the correct solution is to disable Aero, but I did find a few people are doing just that.
here |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Sat Nov 17, 2007 2:17 am |
Bah. I wasn't showing Aero in that "Window color and appearance" panel. I had to click the "Open classic appearance properties for more color options". Then I got the Color scheme window. But Aero is already selected on my system, and Maximize works fine. So that isn't it.
What I'm doing instead is disabling the entire CMUD theme engine when you have "Normal theme" selected. "Normal theme" will tell Windows to use it's normal theme stuff instead of overriding it. This will have the side benefit of not interfering with 3rd party software that does stuff to the window. The same will be true in XP. And in this mode, Maximize will be calling the normal Windows Maximize, so then it should work. So Maximize will only have trouble when you have alternate themes selected.
At some point in the future I'll update the Theme Engine. There is a newer version that better supports Vista, although the Theme Engine is another one of those 3rd party components that I have *heavily* modified (it was full of bugs). So this update is a pretty low priority because it will be very time consuming and annoying (and probably add more new bugs than it fixes). |
|
|
|
bortaS Magician
Joined: 10 Oct 2000 Posts: 320 Location: Springville, UT
|
Posted: Sat Nov 17, 2007 9:03 am |
This is fixed in 2.12.
|
|
_________________ bortaS
~~ Crusty Klingon Programmer ~~ |
|
|
|
Guinn Wizard
Joined: 03 Mar 2001 Posts: 1127 Location: London
|
Posted: Sat Nov 17, 2007 11:08 am |
Confirmed, works on 2.12 now. Thanks for all the effort Zugg, I'm sure it's not improving your impression of Vista
On the up side, maybe worth a more vocal announcement that CMUD now works with WindowBlinds - it's another reason to upgrade from zMUD now.
I did find a little bug with the changes when you switch between the unthemed and themed schemes which I've posted separately.
http://forums.zuggsoft.com/forums/viewtopic.php?p=119627 |
|
_________________ CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;) |
|
|
|
|
|