Win10_BrightnessSlider icon indicating copy to clipboard operation
Win10_BrightnessSlider copied to clipboard

remember/restore lastBrightnessSetbyUser resets back level if you change brightness via windows original Panel [v17.14, v1.7.15]

Open portizmd opened this issue 2 years ago • 6 comments

The program works fine on Windows 11 (Win11 stable version), but it has a minor bug, that of not synchronizing with the system's brightness level. Within seconds of having changed the brightness level through the laptop buttons, it returns to the brightness level that I configured in Win10_brightnessSlider, that is, if I changed to level 20 in the system, it returns in seconds to the previous level configured in the Win10_brightnessSlider program.

Please, update this minor bug.

P.D: I appreciate your program so much, it has made it easier for me to use between brightness of my main monitor and that of my Huion Kamvas 16 2021 drawing tablet.

Windows 11 Version 21H2 (compilation 22000.194)

portizmd avatar Oct 11 '21 01:10 portizmd

Try v1.7.11 it doesnt try to reupdate the system

blackholeearth avatar Oct 11 '21 07:10 blackholeearth

Hi, with prevoius versions, I don't have the problem, works fine. I followed your suggestion to use those previous versions.

It seems that Windows 11 does not synchronize the brightness change with your application, in the latest version, it is just that, so it returns to the brightness percentage of your app if it changed said brightness with the buttons of the laptop.

Greetings. Piero Ortiz.

El mié, 27 de abr. de 2022 1:13 p. m., blackholeearth < @.***> escribió:

İ dont have win 11. Have no way to check this.

İf win 11 is scanning resetting back brighness, this might be anti hack feature or bug by win11 itself.

  1. Did u try v.1.711 and previous versions.??

Do they have same problem???

— Reply to this email directly, view it on GitHub https://github.com/blackholeearth/Win10_BrightnessSlider/issues/105#issuecomment-1111328506, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASY3WUXZP56VJJDY4UCG6TTVHF7T5ANCNFSM5FXDVCDQ . You are receiving this because you authored the thread.Message ID: @.***>

-- "Este mensaje y sus anexos van dirigidos exclusivamente a la persona o

entidad que se muestra como destinatario/s y pueden contener datos personales y/o información confidencial, sometida a secreto profesional o

cuya divulgación esté prohibida en la legislación vigente. Que http://www.ctic.uni.edu.pe/da prohibida, toda divulgación, reproducción u otra acción al respecto por parte de personas o entidades  distintas al destinatario/s. Si ha recibido este mensaje por error, por favor, contáctenos a la siguiente dirección de correo electrónico @.*** @.***> y proceda a su eliminación.

En cumplimiento a lo establecido en la Ley de Protección de Datos Personales - Ley N° 29733, le informamos que sus datos personales obtenidos son almacenados bajo la confidencialidad y las medidas de seguridad legalmente establecidas y no serán cedidos ni compartidos con empresas ni entidades ajenas a la Universidad Nacional de Ingeniería. Si lo desea, usted podrá ejercitar los derechos de actualización, inclusión, rectificación, supresión u oposición, enviando un mensaje al correo electrónico anteriormente

señalado e indicando en el "Asunto" el derecho que desea ejercer"

portizmd avatar Apr 27 '22 18:04 portizmd

Hi @blackholeearth ! Same issue, will add some details. The brightness level is reset not "within seconds", but at the moment of connecting/disconnecting a device to the laptop. Any: bluetooth, webcam or USB device.

How to reproduce:

  1. Adjust the brightness using Win10_brightnessSlider.
  2. Adjust the brightness via system/laptop keys.
  3. Connect or disconnect a device.
  4. Brightness is reset to the value set using Win10_brightnessSlider.

Made a video: https://youtu.be/gK6t4sNkwX4

There is no issue when Win10_brightnessSlider not running.

Same results on two different laptops: Windows 10 Pro 21H2: v1.7.14 Windows 11 Pro 21H2: v1.7.14, v1.7.15

kaalibro avatar May 04 '22 05:05 kaalibro

@kaalibro

v1.7.14 has some memory caching to remember values,

Did u try v1.7.11 or v1.7.8 versions.??

Do they have same problem???


@kaalibro nice video,

The brightness level is reset not "within seconds",

thats true my app has no way of knowing if you change brightness via original windows panel

Maybe i can put timer to check currentLevel . But it feels unhealthy to poll every 5 second.

but at the moment of connecting/disconnecting a device to the laptop. Any: bluetooth, webcam or USB device.

Yes, v1.7.14 and newer versions has event that detect on_device_connected (written in release note) The purpose is to detect plugged in/out monitors , Not to refresh currentLevel ( İts positive side effect.)

But that event detects every device not just Monitor. İ dont think thats a problem.

blackholeearth avatar May 05 '22 10:05 blackholeearth

With slider.exe running, it dims 65 to 45. thats obvious. İ acknowledge that.

Aiso, i noticed that even Win10B_Slider is notRunning

While u are changing brigness from original win11 panel, After u release slider handle, it just dims a little.!?

There is some kind adaptive brightness enabled on you pc?!?!


Another thing i realized from the video is that people connect devices. especially bth devices are paired/unpaired multiple times throughout the day . Probably, it happens so frequently it causes memory leak (1gb memory usage #117 #111 ).

blackholeearth avatar May 05 '22 10:05 blackholeearth

@blackholeearth Thanks for clarification, I broke my head while looking for the reason for the brightness reset))

v1.7.11 or v1.7.8 versions.?? Do they have same problem???

Indeed, brightness resets only with v1.7.14 and v1.7.15 With v1.7.11 there is no such problem.

After u release slider handle, it just dims a little.!? There is some kind adaptive brightness enabled on you pc?

Nope, adaptive brightness is disabled. In the video, only numerical values of brightness matter. That's just camera exposure auto-adjustment effect when shooting.

Probably, it happens so frequently it causes memory leak

I will try to observe this with v1.7.11. If this is going to happen, I'll let you know.

kaalibro avatar May 05 '22 12:05 kaalibro