[TC 8.0ß12-17a x64] Drive buttons render wrong

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Kevlar
Junior Member
Junior Member
Posts: 32
Joined: 2009-03-30, 13:11 UTC

[TC 8.0ß12-17a x64] Drive buttons render wrong

Post by *Kevlar »

If you turn on drive buttons for both panels and then turn them off, they stay on the right side. Here is the screenshot.

This bug occurs only if you minimize TC window, change screen resolution to one with different width, and then restore TC window. So the cause for this bug is just the same to this one: [TC 8.0ß12-17 x64] Strings in Full view have wrong size

'Drive buttons' bug is not the consequences to 'healing' the 'column width' bug. It occurred along with 'column width' bug since beta12(x64). I've just found out today and checked beta 11 (no bug) and beta 12, 17, 17a (there is this bug). TC8 32 bit does not have such problems at all.

How to reproduce:
1. Set screen resolution to 1280x720p.
2. Start TC8(x64)beta17a (with drive buttons turned off).
3. Minimize TC window (is necessary).
4. Set screen resolution to 1366x768p.
5. Restore TC window (do not drag window), go to options, turn drive buttons for both panels on, apply, and then turn them off. Drive buttons on the right should stay.

Just the same to 'column width' bug, if resolutions A and B have same width (or 1366 and 1360), there is no such bug appeared.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I cannot reproduce it, sorry. It also doesn't make any sense to me. Can anyone else reproduce it?
Author of Total Commander
https://www.ghisler.com
umbra
Power Member
Power Member
Posts: 871
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

Yes, I can reproduce it. Following practically the same steps as Kevlar:
1. switch to a lower resolution, start TC with clean ini and minimize it
2. switch to a higher resolution, restore TC
3. disable drive combobox, enable drive buttons on both sides and apply
4. enabe drive combobox, disable drive buttons and apply


And this is how it looked like when I resized TC's window. All buttons and comboboxes were working.
Image: http://i43.tinypic.com/2uqc5lf.jpg
Windows 7 Pro x64, Windows 10 Pro x64
Kevlar
Junior Member
Junior Member
Posts: 32
Joined: 2009-03-30, 13:11 UTC

Post by *Kevlar »

I've made video for this bug too.

I repeat: beta 1 to 11 (x64) had no such weird rendering bugs at all. Is it possible to compile current code (beta 17a) in Lazarus which was used for betas 1-11 (not for public use)?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I could finally reproduce it now, but only when the command line was turned OFF! For some reason, I get too many resize messages, so the right bar is created twice.
Author of Total Commander
https://www.ghisler.com
umbra
Power Member
Power Member
Posts: 871
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

Fixed in beta 18.
Windows 7 Pro x64, Windows 10 Pro x64
Kevlar
Junior Member
Junior Member
Posts: 32
Joined: 2009-03-30, 13:11 UTC

Post by *Kevlar »

umbra wrote:Fixed in beta 18.
confirm
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply