-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Feature proposal): Window controls icons taken from current window decoration theme #6
Comments
Added a theme support to 0.2.6, that is uploaded to the Store. The Breeze theme implemented as binary library. Not sure that we can use icons from it. |
I ported Breeze icons implementation into QML. |
Did i understand you correctly: You added option to use breeze icons by manually hardcoding them into widget? If so and if it looks identical to icons from UPD 5, its probably okay for me (since i don't plan to use other themes), but i was talking about option to load icons from window decoration theme (a.k.a aurorae theme). Do you plan to add general aurorae themes support? I imagined it to be separate section inside "Appearance" page named "Button icons theming" with 3 options: |
Yes. The Breeze icons are hardcoded into KDE decoration library, they are not just icons files. Their colors depends on Kirigami. I implemented the same icons in the widget, the only difference is that they will have color theme from the panel, not from window title. Now there are 3 options for icons theming:
|
I am going to test this option in a kde neon WM in a couple of minutes, |
Thank you for the response!
No, the booth Breeze and Plastic are implemented as binary libraries and they unfortunately are not supported as Aurorae themes by the widget.
Aspect ratio is width:height ratio, it works as intended. When the value is less than 100, squeezes horizontally, otherwise vertically. Height is not changing by this parameter. I think you want the Window Margins option. Probably separated button margins option could be helpful too.
I cannot see a clean way how to do it. |
|
i will test it today or tomorrow to se if there any hiccups left (to be sure that feature is complete). Kudos for great work! |
Its almost perfect. There are some visual nitpicks, which could be resolved. They are tiny, but they scratch brain and eyes. I. In "window control buttons" section:
There are plenty room inside ComboBox to write full clarification of icons source, and in combination with renaming from pt.1 above, first [?] info button is no longer needed.
If Aurorae themes are not found, tooltip text should be as follows: "Some window decorations themes, e.g. Breeze or Plastik, could be installed in your system as binary libraries and thus be visible and usable in System settings, but they are not detectable and cannot be used by this widget. There are no plans to support such binary themes due to technical complications. If some Aurorae themes are found, tooltip text should be as follows: "Some window decorations themes, e.g. Breeze or Plastik, could be installed in your system as binary libraries and thus be visible and usable in System settings, but they are not detectable and cannot be used by this widget. There are no plans to support such binary themes due to technical complications.
Most of these issues are minor nitpicks, but every fix will brings some UX improvements and make widget more polished overall. I think that after dealing with above mentioned issues Window control icons customization will be complete and this Github issue could be closed. Thanks for your work! |
BTW, i have an off-topic question: Could you make Plasma 6 reincarnation of "Compact Shutdown" widget (link)? Default "Log/Logout" widget is meh, because it is not as snappy and you cannot avoid blurred full-screen Plasma shutdown-options menu. An ability to reliably and quickly Shutdown/Reboot/End Session/Lock/Change User/Sleep/Hibernate your machine in two swift clicks was Godsend in Plasma 5. (<active-window-control> and <compact-shutdown> were only third-party widgets i really used. And thanks to you only <compact-shutdown> awaits decent alternative). AFAIK, Plasma 6 re-implementation should be fairly easy (compared to application-title-bar widget), and should not require much maintenance after being done. |
You could check Quick Shutdown, looks like it is under active development now. |
Thanks for the hint! This widget is functionally sufficient, but its nonadjustable default appearance leaves lot to be desired. Thanks for help nevertheless. |
Window control buttons theming is now complete (cant imagine how to improve this aspect of a widget further). |
Hi, I'm using the
Thanks |
You can switch to "Breeze: Implicit Breeze icons" option to get Breeze icons, which used by default in Plasma desktop. |
That works, thanks ! So, to make the panel buttons have the same size as the decorations buttons, I set Thanks |
Current default window controls icons (close,minimize,maximize) are cool, but it would be even cooler if they could be optionally set to match current window decoration theme. I use default breeze and my brain itches every time i use this wonderful widget because of non-breeze icons. This is not crucial, but would be very welcomed.
UPD 1: I use cutom icon theme (tela-icon theme). Maybe my window controls icons in widget match icon theme and not window decoration theme?
UPD 2: Here how it looks on my machine. On your screenshots window controls icons were breeze everywhere. A bug maybe?
UPD 3: Issue of non-matching widget and window decoration WC incons is persistent in both 0.1 and 0.2.3 versions of widget.
UPD 4: I spinned up fresh WM with KDE neon (same as my system where bug was detected) and figured that widget load window control icons from icon theme (not from window decorations theme, which makes sense for every other type of widget exept yours)! I set icon theme to tela-icons theme, installed v2.3 of widget and reproduced issue from UPD 1. To fix non-breeze icons in widget i have to set icon theme to breeze and reboot.
So, at the end, Window controls icons taken from current window decoration theme would be a great cherry on top of good widget (off-topic: i use your widget on my production machine and i cant be more happy with how fast and robust it is, kudos for great work)
UPD 5: window decorations theme spin of breeze is much cooler than icon theme spin of breeze, because its base shows on mouse hover:
no hover
hover
Hope that icons in widget would behave like in the latter example.
The text was updated successfully, but these errors were encountered: