twinkle-tray icon indicating copy to clipboard operation
twinkle-tray copied to clipboard

Issue and potential solution to a popular request!

Open RDDE opened this issue 2 years ago • 1 comments

I'd like to report a minor but annoying issue, and I think I've found a way for Xander to add the most requested (also by me) feature and make this thing truly awesome!

So first the setup details; RTX2080TI with a long active USB-C cable (displayport over USB) to a Dell U4919DW. The issue; Whenever I want to use the TT slider, I have to hover my mouse on the tray logo, which brings up a hourglass. I'll have to wait (5 seconds?) untill the hourglass turns into a pointer again before I can use TT. If I click on TT before that, it will tell me no monitor that has brightness control is detected.

Then about the popular request! Everbody with a keyboard that has (just like laptops) a brightness up and down Fn key would love to use that to control TT. I think I have a solution for Xander!! I followed these instructions https://winaero.com/change-screen-brightness-registry-tweak/ to add the two hierarchical registry keys (had to use ExecTI as he explains). I added it in the Ultimate Performance GUID and then set my computer to that power plan. I then used my keyboard to adjust brightness settings, and every time (inside Regedit) that I 'refreshed' the newly made key that holds the ACSettingIndex and DCSettingIndex (by shortly clicking a different key and then going back to this one) it would update BOTH values to the one that I had set with the keyboard. Example; Fn button presses till approximately 40% of the slider; both REG_DWORD values would be 0x000000028 (40)

I think this is the way that Xander can make TT add the keys to all powerplans and then during usage, poll the registry values so no hotkeys or manual sliding in TT is required anymore for many of us lucky enough to have the Brightness Fn buttons. I also think that it must be possible this way to (with some more steps) enable the 'laptop/tablet' native brightness slider in win10 and use that as well.

Hope I've been of help, I'm not much of a github/coding person but this would be so awesome if it works.

By the way I tried powershell "Get-CimInstance -Namespace root/WMI -ClassName WmiMonitorBrightness" but that reports a not supported and I'm not skilled enough to fix that.

RDDE avatar Mar 16 '22 09:03 RDDE

edit: nevermind it still works (REG_DWORD values changing according to Fn key presses)

I also found this interesting, but I'm not skilled enough to try this out (and create the .inf) https://docs.microsoft.com/en-us/windows-hardware/drivers/display/supporting-brightness-controls-for-external-display-connectors

I'm stuck with the DWORD (how to get the first bit high and the second and remaining thirty not)

RDDE avatar Mar 16 '22 11:03 RDDE