Lister: the problem of colors in the media bar

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

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

Re: Lister: the problem of colors in the media bar

Post by *ghisler(Author) »

Here is the same on Windows 7:
https://www.ghisler.ch/images/player_windows7.png
Enlarged:
https://www.ghisler.ch/images/player_windows7_enlarged.png

Although I set the same values, the play position trackbar seems to be drawn one pixel higher. But it still doesn't look bad...
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: Lister: the problem of colors in the media bar

Post by *Fla$her »

And what does it look like at 120 DPI?
Remind:
Fla$her wrote: 2022-05-27, 19:41 UTCI use 120 DPI. Maybe that's the problem?
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Lister: the problem of colors in the media bar

Post by *ghisler(Author) »

Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: Lister: the problem of colors in the media bar

Post by *Fla$her »

2ghisler(Author)
Yes, for some reason your left and bottom margins are the same. Hmm.
But for some reason the lower edges of the window are rounded. And on all the themes built into Windows 7, I see straight edges. What is your theme?
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Lister: the problem of colors in the media bar

Post by *ghisler(Author) »

I'm in Virtualbox, and use the standard Windows 7 theme (right click on Desktop - Personalized - Windows 7).
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: Lister: the problem of colors in the media bar

Post by *Fla$her »

Clearly. Okay, I'll accept it, it's not so critical.
But still, I suggest leveling the distances under and above the slider, since the trackbar is not an obvious window component, its boundaries can be hidden or marked with a conditional dotted line, which visually does not delineate the boundaries.
Please add another 4 pixels above the trackbar.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Lister: the problem of colors in the media bar

Post by *ghisler(Author) »

Why 4? It currently has 4 above and 6 below on Windows 7, and 5 above and below on Windows 10/11.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: Lister: the problem of colors in the media bar

Post by *Fla$her »

If you look at your last screenshot, you can see that there are 6 pixels above the slider, and 12 pixels below it (to the button).
In my screenshot it is 7 and 11 respectively.
11-7=4
12-6=6
Since I have 4 and you have 6, I suggest taking 5. :)
However, any choice in the 4-6 range will suit me.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Lister: the problem of colors in the media bar

Post by *ghisler(Author) »

From where to where do you measure? In my screenshot it's 4 above and 6 below (see the black dots which I added).
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: Lister: the problem of colors in the media bar

Post by *Fla$her »

2ghisler(Author)
Do you understand what a slider is?
Image: https://i.ibb.co/3zF8qsn/Distance-From-Slider.png
Overquoting is evil! 👎
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Lister: the problem of colors in the media bar

Post by *Dalai »

2Fla$her
Are you aware that the slider is actually higher than what your red lines make it out to be? It's all the height between the black lines, the ones you've written the pixel distance on. Yes, the thing that you can grab with the mouse is actually aligned to the top, but that's how this standard Windows control works and looks like.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: Lister: the problem of colors in the media bar

Post by *Fla$her »

Dalai wrote: 2022-06-22, 17:50 UTCthe slider is actually higher than what your red lines make it out to be?
What makes you think that? I don't see the logic.
Dalai wrote: 2022-06-22, 17:50 UTCIt's all the height between the black lines, the ones you've written the pixel distance on.
You're obviously confusing something. The slider is smaller in height than TMyTrackbar it is included in.
Dalai wrote: 2022-06-22, 17:50 UTCYes, the thing that you can grab with the mouse is actually aligned to the top, but that's how this standard Windows control works and looks like.
What does "looks" mean? Anyway, it doesn't matter what is hidden in the interface. I ask to expand the playbar from above by the desired number of pixels. Programmatically, it is not necessary to orientate on the slider element at all.
Overquoting is evil! 👎
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Lister: the problem of colors in the media bar

Post by *Dalai »

2Fla$her
Sorry, I meant to say that the slider is aligned to the top of the trackbar. Honestly, I don't see the need to add a larger margin above the trackbar. But it's up to Ghisler to decide what to do about it.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: Lister: the problem of colors in the media bar

Post by *Fla$her »

2Dalai
It was originally about increasing the margins along the general boundaries of the playbar, of course.
As an argument, another screenshot of the comparison with MPC, where distances are used more competently.
Overquoting is evil! 👎
User avatar
AntonyD
Power Member
Power Member
Posts: 1231
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: Lister: the problem of colors in the media bar

Post by *AntonyD »

Yep, I should agree and pay attention again on the form of this slider:( Indeed - it's toooooo small.
And provided screenshot from MPC only proves it very-very-very much.
#146217 personal license
Post Reply