Git Product home page Git Product logo

win10_brightnessslider's People

Contributors

blackholeearth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

win10_brightnessslider's Issues

Hello

Can you fix the icon, because it not symmetrical.

RTL small problem

Thank you, great app.
I have small notice, you can see below, In RTL: the slider appeared in the other side.
if you can make it able to apear in side depend on RTL-LTR, will be Nice.

image

slider waits until draggingEnd To Change brightness [on ddci monitors]

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.

unable to control brightness since Win10 update 1903 on ASUS and HP laptop

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?

Not supported.

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

Bring it in App store

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

1.7.6 issues

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

1.7.5 release doesn't work from source

The pre-compiled executable works just fine but when I try to run from source I get the same error as #3. I tried executing the PowerShell script from #7 but I get the same "Not Supported" error for WmiMonitorBrightness as I do when I run from source.

It does not work!

I tried it on Windows 10 Home. Windows 10 Pro and nothing...

Can you fix it?

Taskbar at top of screen, brightness slider doesn't match

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!

Second monitor not active, but brightness slider exists and is set to "-1"

Details

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.

Current behaviour

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:

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.

Expected behaviour

I would expected the brightness slider for the "unused monitor" to simply not be visible, or disabled ("greyed out").

Note

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.

does this work on windows 7?

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

Is Detect Monitors really neccessary?

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.

text is not crytal clear (blurry , blocky at high dpi)

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.

Doesn't work with DVI-D VGA converter

My monitor have only VGA
On previous PC all DDC/CI programs to control brightness was working ok

But now I need DVI-D or HDMI to be able connect my monitor

So I bought next converter, monitor works ok, but brightness programs (including this one) stopped working

1062424_v01_b

pop up taskbar blocks slider window

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.

Just Want to say thanks!

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...

3 Screen

Hey mate so here is where I am at with your work

I have three screens, but I get 5 sliders what,

  1. Computer
  2. Cintq
  3. TV screen

Just some thoughts here

  1. You need a rest button
  2. also perhaps the slider could be named in accordance to the screens

Do you have any idea on how I might be able to reset my screens?

screenshot_1

Build 17107 Bug

有关调用实时(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 调试程序,
而不是由此对话框处理。

Ability to select from multiple monitors

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.

Set brightness on multiple displays 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.

would like to contribute

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.

Auto detect when starts

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 ✔️

Suggestion for taskbar icon, I am running v1.75

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.

Exception at Getbrighness

Updated to newest version and now I have this error... Program still starts but I cannot bring up the brightness slider
new bitmap image

Unhandled Exception has occurred in your application. StartIndex cannot be less that zero. Parameter name: startIndex

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]

Icon tool tip should show current brightness

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

Trigger malware detection upon download

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

Add key bindings / shortcuts / hotkey to increase brightness

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?

Window is shown behind 'show hidden icons' tray

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:

db9d4dc

Thanks for writing the app by the way 🥇

Regards,

Alex

Microsoft .Net error while using only a second monitor

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)

error

[Fallback to ddc/ci mechanism] Doesn't work

screenshot_2

Using Win 10 Pro
Version 1709
OS Build 16299.248
GPU: Nvidia GTX650
Monitor: Samsung SyncMaster S22B150

.NET Framework 4.7.1 or a later update is already installed on this computer.

screenshot_3

Getting Trojan alert!

I am getting Trojan:Win32/Spursint.F!cl alerts with the latest download. Cannot see this being a false positive! Any other explanations please?

Hotkeys

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?

formatexception parseuint32 at culture: german

Every time after using the slider for one of my external monitors (see Setup) I get this error:

Capture

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:

Unbenannt

The second one in the one which causes the error.

Trojan Warning - Virus Total

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.

Virus Total of v1.7.5

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

set brightness level based on time of the day

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:

  1. Ability to set brightness level or at the least activate based on time of the day. In other words, say it's 2am, set to %30 percent, say it's 7am set to 60%, etc...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.