[8.0b8-64] Areo taskbar preview size

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
Taverius
Junior Member
Junior Member
Posts: 8
Joined: 2011-07-26, 00:51 UTC

[8.0b8-64] Areo taskbar preview size

Post by *Taverius »

Something odd with the taskbar preview size.

Its much higher than it needs to be, almost like its telling windows to give it space underneath the icon for buttons, and then not using it.

TC
Image: http://i11.photobucket.com/albums/a196/Alepfhaist/Bugs/Screenshot_1.jpg

For comparison, windows backup (not as tall)
Image: http://i11.photobucket.com/albums/a196/Alepfhaist/Bugs/Screenshot_2.jpg

foobar2000, with buttons
Image: http://i11.photobucket.com/albums/a196/Alepfhaist/Bugs/Screenshot_3.jpg
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Mine is not quite as high af yours, but it is definately higher than the preview of the 32bit TC.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Taverius
Junior Member
Junior Member
Posts: 8
Joined: 2011-07-26, 00:51 UTC

Post by *Taverius »

Interesting!

So its somehow signalling a wrong size for the window or something, and it varies by system ...

My 32-bit is still 7, the size is correct.
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Confirm too.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Confirmed!
Looks like the reserved area for:
10.11.10 Release Total Commander 7.56 beta 1
...
05.11.10 Added: Windows 7: Show pause button in "aero peek" windows (shown when hovering over taskbar icon) during file operations to pause them
Btw:
Can anyone confirm my observation that the pause button is available in
TC7.56a, TC8.0ß8 x64
but not in TC8.0ß8 x86?

Regards
Holger
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

HolgerK wrote:Looks like the reserved area for: ...
It's definitely the area for the pause button.
The area does not disappear after a foreground copy.
but not in TC8.0ß8 x86?
Can't confirm it either. :(
Today @work i could swear that the pause button wasn't there in TC8.0ß8 x86, but now @home all three versions are showing the same behavior.

Regards
Holger
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Interesting idea. Though I cannot confirm observation about the missing Pause button, I discovered something else:
1) Start TC x32 — preview size is normal.
2) Start copying something — preview height is increased to contain the Pause button.
3) Waits until copying finishes, or just abort it — the Pause button is removed (as expected), but the preview size remains unchanged and therefore is higher than necessary.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

HolgerK wrote:Can't confirm it either. :(
Today @work i could swear that the pause button wasn't there in TC8.0ß8 x86, but now @home all three versions are showing the same behavior.
Found the reason: @work the compatibility mode for TC8.0ß8(x86) was set to "[x] run this program in compatibility mode for: "Windows Vista"".
So this special puzzle was a false alarm. :wink:
flint wrote:3) Waits until copying finishes, or just abort it — the Pause button is removed (as expected), but the preview size remains unchanged and therefore is higher than necessary
Yep, but this behavior is the same for all three version 7.56a, 8.0ß8 x86/x64.

Regards
Holger

Edit (*) Seems to be not possible to remove the button:
ITaskbarList3::ThumbBarAddButtons method wrote:After a toolbar has been added to a thumbnail, buttons can be altered only through ITaskbarList3::ThumbBarUpdateButtons.
While individual buttons cannot be added or removed, they can be shown and hidden through ThumbBarUpdateButtons as needed.
The toolbar itself cannot be removed without re-creating the window itself.
Last edited by HolgerK on 2011-11-10, 11:01 UTC, edited 1 time in total.
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

HolgerK wrote:Yep, but this behavior is the same for all three version 7.56a, 8.0ß8 x86/x64.
No, x64 version has increased height from the very beginning (as reported by the TP).
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

No, x64 version has increased height from the very beginning
Can't confirm. The initial height of the preview window before any copy operation is the same for all version here.
(Windows7 x64 ultimate Eng Aero enabled)

Regards
Holger
Make our planet great again
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is actually a misfeature of Windows 7:
When you add buttons to the taskbar preview, e.g. a pause button as TC does, Windows reserves extra space for the toolbar. But when you remove all buttons, the extra space is NOT freed.

It's even documented by Microsoft:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd391703%28v=vs.85%29.aspx
The toolbar itself cannot be removed without re-creating the window itself.
Author of Total Commander
https://www.ghisler.com
Post Reply