[64] Weird VERTICAL Main menu after switching Aero->class

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

[64] Weird VERTICAL Main menu after switching Aero->class

Post by *MVV »

That's one of the most craziest things I've seen. :)

Image

How to reproduce? Switch to Aero and then to classic. :D Main menu becomes vertical, width of every item is some pixels, but submenus (which are popup menus) are opened correctly.

If I change language, all becomes normal.

TC8x64b3, Win7x64Sp1Pro
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50517
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Confirmed with non-English language, thanks. Please close and re-open TC to fix.

I never noticed it because I always close all programs before changing the theme, otherwise it takes a horrible lot of time...
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

It may take much more time to re-open programs again. :)

It is not necessary to restart TC, just change main menu file in language settings. Anyway it is interesting why problem exists only in Beta3 and not Beta2/Beta1.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50517
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It's probably related to the '?' in the menu bug.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50517
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Actually it's not my bug, it's in the Lazarus menu functions. I haven't located the bad function yet, but I get the same problem with the Lazarus IDE too...
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

It sounds crazy. :D
Strange that beta2 works fine here. Also, I can't remember such bug with IDE when I tested control colors and different themes. It seems that we need some conditions......
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50517
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Beta 2 did not use the Lazarus menu, it used owner-drawn menus with my own code everywhere.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Thanks for details, it makes it clear.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50517
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This should work now in beta 4, please test it!
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Unfortunately I am still able to reproduce it with b4, even with clean INI. I have opened both b3 and b4 on the screen and both got vertical menus after switching to classic theme from Aero. Listers also have such bug.

I think it is not so essential bug to waste too much time on it. :)
Last edited by MVV on 2011-10-07, 16:15 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50517
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I can't. :(

I tried with various Windows versions, including Vista and 7.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

BTW I can't reproduce it on virtual machine with Windows 7 x64...
Sob
Power Member
Power Member
Posts: 945
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

I can (Win7 x64 in VirtualBox). But only with one older and more "used" virtual machine. With clean install it's fine. But I don't think there's a chance to find out what's different.
Post Reply