TC9.0RC4 Everything Checkbox position and Font settings

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

TC9.0RC4 Everything Checkbox position and Font settings

Post by *HolgerK »

If the Dialog font is set to other than the default "Microsoft Sans Serif,8" (e.g. "Segoe UI,8") or a larger font like "Microsoft Sans Serif,9" is selected, the position of the of the 'Everything' checkbox is different:
- "Microsoft Sans Serif,8" -> 'Everything' checkbox is placed below "[_] RegEx"
- all other -> 'Everything' checkbox is placed behind "[_] Search archives.."

Don't know if this is by design, but it should be unique.

Regards
Holger
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6481
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TC9.0RC4 Everything Checkbox position and Font settings

Post by *Horst.Epp »

HolgerK wrote:If the Dialog font is set to other than the default "Microsoft Sans Serif,8" (e.g. "Segoe UI,8") or a larger font like "Microsoft Sans Serif,9" is selected, the position of the of the 'Everything' checkbox is different:
- "Microsoft Sans Serif,8" -> 'Everything' checkbox is placed below "[_] RegEx"
- all other -> 'Everything' checkbox is placed behind "[_] Search archives.."

Don't know if this is by design, but it should be unique.

Regards
Holger
The text Everything will not fit if checkbox is placed below "[_] RegEx"
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
tuska
Power Member
Power Member
Posts: 3758
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

... in other words ...

24.08.16 Release Total Commander 9.0 beta 11 (32/64)
24.08.16 Fixed: Search dialog: Move 'Everything' checkbox to the right of the packer checkbox if it doesn't have enough space (32/64)

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

Re: TC9.0RC4 Everything Checkbox position and Font settings

Post by *HolgerK »

Horst.Epp wrote:The text Everything will not fit if checkbox is placed below "[_] RegEx"
At least it fits with "Segoe,ui,8"

Btw: The horizontal extend of the text:
|'Everything'|
is normally less than (german ui):
|Text suchen:|

Maybe the limit to switch the position is set a little bit to low?
But i don't care if this is by design (now that i know).
I was only wondering after an update on another machine, and thought I'd installed a different version.

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

Post by *HolgerK »

Anyway there is an odd behavior:

Dialog Font is set to "Segoe,ui,8"

1. Dialog box scaling set to "96dpi":
:arrow: 'Everything is placed behind "Search archives.."

2. Same font, but dialog box scaling set to "120dpi":
:arrow: 'Everything' is placed below "RegEx"

Regards
Holger
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This isn't odd, it's just a rounding problem: TC measures the size of the text (plus some extra whitespace), and compares it to the available space. If the size is larger, then TC puts the box to the right. When scaling, there are always rounding problems, because there are no fractional pixels. So the text length may become 1 pixel longer (rounded up), and the available space one pixel shorter (rounded down).
Author of Total Commander
https://www.ghisler.com
Post Reply