blackholeearth / win10_brightnessslider Goto Github PK
View Code? Open in Web Editor NEWthis app puts a Monitor Brightness icon on Taskbar Tray. for win 7, 8, 10
License: Other
this app puts a Monitor Brightness icon on Taskbar Tray. for win 7, 8, 10
License: Other
Can you fix the icon, because it not symmetrical.
Trivial issue but motivated me to open your source code just to realize its not latest version:)
For primary screen when I drag slider without releasing mouse brightness is immediately updated but for second screen brightness is updated only after mouse button is released. Is this by design and is there any way you can make second slider to work as first? (I have asus screen attached to USB port as second screen to laptop and no option currently to try another device)
Nice tool by the way.
Running Windows 10 Pro 1803. Have to manually detect my monitor upon reboot otherwise it won't work. One ce detected it work again but previous settings have been lost.
Since Windows 10 update 1903 I have been unable to control the brightness of my screen on my Asus and HP laptops , I have installed blackholeearth / Win10_BrightnessSlider on both of my laptops. The installation was successful and I see the brightness control in my systray. I can shift that from 0% to 100%. Unfortunately, this gives no result and there is no control of the light intensity.
Is this suitable for the screens of a laptop?
When I open the application I get this error:
System.Management.ManagementException: Not supported
vid System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
vid System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
vid Win10_BrightnessSlider.Form1.SetBrightness(Byte targetBrightness)
vid Win10_BrightnessSlider.Form1.trackBar1_Scroll(Object sender, EventArgs e)
vid System.Windows.Forms.TrackBar.OnScroll(EventArgs e)
vid System.Windows.Forms.TrackBar.WndProc(Message& m)
vid System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
vid System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
System.Management
Sammansättningsversion: 4.0.0.0
Win32-version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
Remarkably great tool, a must have. @blackholeearth why don't you bring it in Windows Appstore, people would pay a small reasonable amount for this; I know I would. Or provide a donations link etc. Cheers
Keeps saying it can't make a log file on open. then, unable to click on the icon. I can load 3+ instances of the program if I keep opening it - I thought that you had put up some barrier to that happening in the past. reverted back to 1.7.5. great work
I tried it on Windows 10 Home. Windows 10 Pro and nothing...
Can you fix it?
Any chance that this could be updated so that its position is relative to the taskbar's position? I have my taskbar on top and would love to have this alongside my volume slider, but having it still pop up at the bottom isn't idea.
Great utility, much appreciated!
the slider appears on the second screen when I add that screen. the slider does not disappear. thx
Add "Night Mode" (enable/disable).
Enable it by right-clicking the icon in the tray and toggle the setting ON/OFF.
Thanks for you nice job.
I own two identical monitors, manufactured by Dell. Both monitors are always connected to my desktop PC, both via a dedicated NVIDIA GPU, one via HDMI and the other one via DP.
At times - such as when gaming - I don't require both monitors to be active. Thus, I tend to configure Windows to only use my main monitor (via "WIN+P", first option). In this case, both Windows and the NVIDIA driver correctly identify only one monitor - and also allow configuration for this one monitor.
If only one of two monitors is actually being used by Windows, brightness sliders continue to exist for both monitors. The brightless slider for the "unused monitor" is set to "-1", and the application crashes once I try to change its value. See the screenshot:
Running "Detect monitors" does not change this situation. I'm assuming that the brightness slider application somehow still knows about both monitors, probably because I explicitely installed Dell Monitor Drivers for both of them. Both monitors are also always visibile in the Windows device manager.
I would expected the brightness slider for the "unused monitor" to simply not be visible, or disabled ("greyed out").
This issue doesn't affect the functionality of this application in any kind of critical way. Still, it's confusing to users, and an solving this issue could improve UX quite a bit.
There are doesn't works switching brightness with the keys on the keyboard in my laptop on windows 7.
Dear, make your slider for windows 7.
Much thx
whatever you do on Detect Monitors you can put it in beginning of OnShow... or OnDraw... event (event that you use to draw sliders) or even OnMouseClick event of icon.
The functionality is flawless but it would be much more seamless and blend in better with the Windows UI if it matches the dpi that the OS is running on. I own a Surface Book, a 3000 x 2000 pixel display, which makes the low dpi of this software stand out.
When I set a brightness of, for instance, 54, then switch the monitor off and back on, the brightness is set to 12. Same happens when monitor goes into sleep mode and wakes back up.
Same problem as mentioned in issue #3 - Microsoft.NET Framework - Unhandled exception has occurred in your application. I chose continue and an icon appeared in System Tray, but clicking on it causes app to terminate.
K5jic
when the autohide taskbar is on and the taskbar is at the top of screen,the slider is still at the bottom
my taskbar is set to auto hide.
when I click on the notifyicon1 (the little sun) then it pops up below the raised taskbar.
i need to move the mouse up a bit so the taskbar hides again to gain access to the slider.
is this done on purpose?
thank you for helping us poor win10 buggers out and fix one of the many "improvements" of 10.
i also second the thing with the hotkeys
i used volbright first but punching twice on the win key (with all the pop ups) and then fn and volume control is a bit like driving a very old car without syncronisation.
This isn't really an issue. I just wanted to say thanks for this awesome little tool. I don't understand how stupid Microsoft is that you even have to make this brightness slider... it's a no brainer...
Tried moving the slider on my pc and nothing happens
Hey mate so here is where I am at with your work
I have three screens, but I get 5 sliders what,
Just some thoughts here
Do you have any idea on how I might be able to reset my screens?
有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。
************** 异常文本 **************
System.Management.ManagementException: 不支持
在 System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
在 System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
在 Win10_BrightnessSlider.Form1.GetBrightness()
在 Win10_BrightnessSlider.Form1.UpdateStatesOnGuiControls()
在 Win10_BrightnessSlider.Form1.Form1_Load(Object sender, EventArgs e)
在 System.Windows.Forms.Form.OnLoad(EventArgs e)
在 System.Windows.Forms.Form.OnCreateControl()
在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
在 System.Windows.Forms.Control.CreateControl()
在 System.Windows.Forms.Control.WmShowWindow(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
在 System.Windows.Forms.Form.WmShowWindow(Message& m)
在 System.Windows.Forms.Form.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
trimmed error log
启用 JIT 调试后,任何未经处理的异常
都将被发送到在此计算机上注册的 JIT 调试程序,
而不是由此对话框处理。
Doesn't work on Smart TV. I'm looking for an app that controls Samsung TV brightness.
After autostarting with system and changing brightness with the app popup slider - brightness reverts to previous level - looks like after the app popup slider disappearance.
Lenovo Yoga 520 laptop Windows 10 1809
This is a request to add the ability to select which monitor the slider affects. If a user has multiple monitors, perhaps each could be represented as a tab or button with a number label (1, 2, etc.); the user would click on the number of the monitor to adjust its brightness. Shift-clicking on numbers would select multiple monitors to adjust at the same time.
Thanks for this awsome tool !
I have a request for enhancement, it would be great to have a checkbox or option that allows to set brightness for all monitor with a unique slider.
For example I'm using the tool with a dual screen setup and I would like to set the same brightness on both displays at the same time.
Thank you.
I can't think of anywhere else to put this, but the download page is blocked by BitDefender:
The page you are trying to access contains Gen:Heur.MSIL.Krypt.4.
It is the Windows 10 Download Link: Win10_BrightnessSlider.exe
VirusTotal shows no problems.
Hi, I would like to contribute adding keys shorcuts functionality.
I don't want to be credited or anything like that.
My intention is just to contribute adding that feature and nothing else, your app works great and I don't want to start another one from scratch.
Let me know if you are interested.
Best regards,
Adrián.
Hi, After restart, I should do detect monitors.
is there any option to make it auto?
Acer G247HYU - 2K
Use last update 1.7.5 | Run At startup ✔️
I am running v 1.75 and I'm not sure if this is how the app is meant to run or not but I have to click on my desktop or taskbar to make the slider disappear. A second click on the "sun" icon only makes the slider re-appear rather than making it go away. It would be great if a second click dispelled the slider. Otherwise I love this app, had no issues with it at all.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.
Parameter name: startIndex
at System.String.Substring(Int32 startIndex, Int32 length)
at Win10_BrightnessSlider.RichInfoScreen.GetWmiMonitorID_by_TargetDeviceName(List`1 WMIMonitorIDs, DISPLAYCONFIG_TARGET_DEVICE_NAME dc_tarDevName)
at Win10_BrightnessSlider.RichInfoScreen.Get_RichInfo_Screen()
at Win10_BrightnessSlider.Form1.RePopulateSliders()
at Win10_BrightnessSlider.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
[this much suffices]
Hey there,
When you mouse over the icon the tooltip is just the name of the form component, I've taken a fork of your project and made the change locally that sets the mouse over message to be something nicer and show the current brightness level.
This change on my fork: 87d6b14
Alex
Identified by Windows Defender (threat definition version: 1.263.278.0, created on 10:26:35, March 7, 2018) as Trojan:Win32/Spursint.F!cl, upon download.
Windows 10 Version: Insider Build 17112
Has AnyOne Tried This When Connecting Monitor with HDMİ Cable ??
and did it worked ?????
related #38
Quite a bit of Sony Vaio laptops cannot change their brightness via keyboard on WIN10 since to some customization. Drivers from Sony are only provided up to Win 8.1.
Having the option to manually assign Brightness_UP and Brightness_DOWN keyboard shortcuts would help mitigate the issue, since the slider itself works perfectly on my Vaio VGN-SR51MF.
Any chance that you could add this option?
Hey there,
When the tray icon for the app is inside the hidden icons tray, to adjust brightness you pop open the tray, click the icon, but the window appears behind the tray.
Seems BringToFront() isn't quite enough, but if you set TopMost as well it appears to do the trick.
Just add:
+ this.TopMost = true;
this.Activate();
this.Show();
to eSetVis().
Should have made smaller commits, but you can see the change in my commit here:
Thanks for writing the app by the way 🥇
Regards,
Alex
This error shows up when my laptop is connected to a second monitor and the laptop monitor is turned off. If I select continue nothing is visible. (Version 1.7.4)
This error disappear in version 1.4.0
Error:
Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra
sono riportate in fondo al messaggio.
************** Testo dell'eccezione **************
System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.
in Win10_BrightnessSlider.RichInfoScreen.get_PhysicalMonitor()
in Win10_BrightnessSlider.RichInfoScreen.GetBrightness()
in Win10_BrightnessSlider.uc_brSlider.UpdateSliderControl()
in Win10_BrightnessSlider.Form1.UpdateAllSliderControls()
in Win10_BrightnessSlider.Form1.UpdateStatesOnGuiControls()
in Win10_BrightnessSlider.Form1.Form1_Load(Object sender, EventArgs e)
I am getting Trojan:Win32/Spursint.F!cl alerts with the latest download. Cannot see this being a false positive! Any other explanations please?
Hello! Your application works fine with my monitor lg 27uk650-w 4k.
I would really like to change the brightness of the hot keys, is it possible?
Every time after using the slider for one of my external monitors (see Setup) I get this error:
Here the full description:
Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.************** Ausnahmetext **************
System.FormatException: Die Eingabezeichenfolge hat das falsche Format.
bei System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
bei System.Number.ParseUInt32(String value, NumberStyles options, NumberFormatInfo numfmt)
bei System.UInt32.Parse(String s)
bei Win10_BrightnessSlider.DxvaMonFn.SetPhysicalMonitorBrightness(PHYSICAL_MONITOR physicalMonitor, Double brightness)
bei Win10_BrightnessSlider.RichInfoScreen.SetBrightness(Int32 value, Boolean _isMouseDown)
bei Win10_BrightnessSlider.uc_brSlider.trackBar1_Scroll(Object sender, EventArgs e)
bei Win10_BrightnessSlider.uc_brSlider.TrackBar1_MouseUp(Object sender, MouseEventArgs e)
bei System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.TrackBar.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)************** Geladene Assemblys **************
mscorlib
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3416.0 built by: NET472REL1LAST_B.
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll.Win10_BrightnessSlider
Assembly-Version: 1.0.1.0.
Win32-Version: 1.0.1.0.
My setup consists out of these Monitors:
The second one in the one which causes the error.
Hey, even as this has been multiple times discussed here and declined I have to come back on the actual problem with your executable. It would be just fine if Defender yells and everything else would state that the file is ok and no malware / trojan. However we now have a Virus Total detection rate of 18/68 which is not that terrible but yeah it doesn't look great either.
Moreover you don't provide the latest source code in your repo. I assume that because the latest release is far more recent than the latest actual source code commits to the repository. So the source code is outdated and obviously not represents the latest version v1.7.5. I don't understand why you don't provide the latest source code at least in a separate branch if you have issues with false positive. That would at least build up some trust in your project. However as you don't, it might look like that you want to hide something. I didn't decompile the executable and TBH I don't have the time to hunt after malicious code.
The overall picture isn't that trustworthy given the facts we have and that is something you have to accept / admit at the current point. I don't want to blame anybody but you could easily do some contribution to gain back some trust with little to no effort. I assume there is no trojan in the exectuable but I would also not recommend using it...as of the current state.
PS.: It would also be no magic to finally determine what causes the false positive detection in your code if it is a false detection. Why you simply don't do that? That would once and for all stop the discussion...just my 2 cent
First I want to say I've been looking for something like this for my Win10 install for a while. I guess based on my driver I don't even have the native slider under Actions. Just installed this app and I think it's great and what would make it even better is the following:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.