Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor issue - Tray icon order #2853

Open
incansvl opened this issue Nov 27, 2024 · 4 comments
Open

Minor issue - Tray icon order #2853

incansvl opened this issue Nov 27, 2024 · 4 comments

Comments

@incansvl
Copy link

Describe the bug
Fan Control (FC) lets the user specify a set of tray icons, including their order.

However the icons in the tray are shifted one to the right with respect to the list specified in the UI, with the first icon wrapped around to the left-hand side of the icon group. This looks like an "off by one" error? (screenshot attached)

It's a small thing, but a regular irritation when configuring FC on a new machine, or after a hardware change.

Tail of log.txt file
Fan_Control_log.txt

Relevant hardware specs and setup
Motherboard Gigabyte Z170X-GamingG1
Processor Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz 4.00 GHz
Installed RAM 32.0 GB
System type Windows 10 Home 64 bit (22H2)

Screenshot 2024-11-27 112907

@Rem0o
Copy link
Owner

Rem0o commented Nov 27, 2024

Windows may mess with the order. CTRL-R should bring it back.

@incansvl
Copy link
Author

incansvl commented Nov 27, 2024

No the "off by one" discrepancy is consistent. It is not affected by a ctrl-R on the application. I have seen this behaviour across multiple installations of FanControl, on other machines as well as this one,

It's been this way for a long time, i.e. across multiple FC versions, only now did I get around to logging it as a bug.

@Rem0o
Copy link
Owner

Rem0o commented Nov 28, 2024

That's odd, I obviously tested this on many different conditions and never got that specific behaviour. Tested it just now and the order is right with 4 icons. What happens if you drag and drop the icon to the right place in the tray itself? Does it stick to that order then?

Why Im insisting on the windows part:
I can't directly control the icon order, the only thing I can control is the order that I'm spawning these icons. To appear left to right, I must spawn them in reverse order, because they fill from right to left. That spawning logic is just a simple reversed loop, there is no bug there.

@incansvl
Copy link
Author

Well I have to say Windows behaviour around the tray icons is really odd, at least on my machine. I hadn't tried re-ordering the icons by dragging+dropping before, but what I found was-

  1. In the config I was aiming to have the info in pairs, i.e:
    CPU Temp | CPU (AIO) Fan Speed (Let's call these 1A and 1B)
    GPU Temp | GPU Fan Speed (Call these 2A and 2B)

However it's pretty much impossible to get the icons in this order by dragging, the pairs either end up not adjacent, or the desired A/B order is ignored and the pair is backwards.

I can only guess that there is some secret additional sort order rule being imposed by Explorer (e.g. a "by name" or "by ID") so the desired ordering, either from the drag+drop operation, or the creation sequence from the FC app, is being overridden.

As a side note, at one point I accidentally dragged one of the icons off the top of the systray. This moved this one icon into the "do not show by default" icon set, which is impossible to fix it seems because the windows settings only show a single "show icon" option for FC, rather than the individual icons. This gets fixed if you quit+restart FanControl, but it does illustrate that Windows is juat a bit weird in this area.

Nett- Unless we can find out that this "secret sauce" extra sort rule is, I think I agree with you that it's Windows that is causing the behaviour, and there is little that can be done other than what I currently do, which is fudge the list order in FanControl so the icons end up in the desired order in the SysTray,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants