LWChris Posted February 26, 2019 Share Posted February 26, 2019 (edited) It's a bit cumbersome to quickly toggle the visibility for many layers, because the checkbox is quite small. Nowadays where most computer mice have a middle button, how about defining middle click on a layer in the Layers tool window toggles the visiblity? This greatly increases the "hit box" for this. Thanks 😁 Edited February 26, 2019 by LWChris Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted February 26, 2019 Share Posted February 26, 2019 I'm not sure that's a good idea, seeing as how middle-click is used for closing an image when you click on the thumbnail at the top. Simpler idea would just be to make the checkbox bigger. 1 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
LWChris Posted February 26, 2019 Author Share Posted February 26, 2019 (edited) 51 minutes ago, Rick Brewster said: I'm not sure that's a good idea, seeing as how middle-click is used for closing an image when you click on the thumbnail at the top. Well, middle click as a shortcut to close tabs is quite common, but I don't see how that would contradict using middle click on other UI elements with a different action. Currently, middle click behaves like left click. 51 minutes ago, Rick Brewster said: Simpler idea would just be to make the checkbox bigger. I'm not sure this will look very well. And no matter how big it will become, it will necessarily always be a lot smaller than the whole layer item. Also, the clickable area is already taller than the checkbox, but every time I try to very quickly toggle many layers in a row, about half of the time I activate the layer instead of hiding it. It actually may be an UI issue with the click event being routed to the wrong element for inactive and/or invisible layers, but it's hard to tell for me whether I nailed the click or am just a few pixels off when doing it fastly in a row for 10+ layers. Edited February 26, 2019 by LWChris Typo fix Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted February 26, 2019 Share Posted February 26, 2019 Middle click being used for two different things is just not something that sits well with me, especially when one of the actions is destructive. Anyway I've filed an issue to look into this at some point. I don't know when it'll happen, but it's on "the pile" Thanks! Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
LWChris Posted February 26, 2019 Author Share Posted February 26, 2019 2 hours ago, Rick Brewster said: Middle click being used for two different things is just not something that sits well with me, especially when one of the actions is destructive. I understand that in general for hotkeys. You wouln't want to assign "Reset to default colors" to the "Delete" key (as in deleting your custom color choices), when the same key triggers a destructive action for other parts of the program. But I think it's okay for mouse actions on totally different areas of the GUI. Also You cannot expect the same thing to happen, since you can neither "close a layer", nor "hide an open file". The action that is closest to "closing a layer" is hiding it - which would happen. The action that is closest to "hiding an open file" is closing it - which already happens. So I think it fits in the greater scheme of understanding. 2 hours ago, Rick Brewster said: Anyway I've filed an issue to look into this at some point. I don't know when it'll happen, but it's on "the pile" Thanks! Thank you. I get there are more important things (like maybe updating the "Popular Feature Requests" thread? *hint* ). I hope it'll be in soon nevertheless since it's just an event binding to add. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.