kotelnik / plasma-applet-active-window-control

Plasma 5 applet for controlling currently active window.
GNU General Public License v2.0
119 stars 18 forks source link

Better default appearance for buttons #71

Open GauthierPLM opened 7 years ago

GauthierPLM commented 7 years ago

Hi,

Default settings for buttons aren't really nice. Buttons are really small and on the upper right, hide automatically and when hovered, appears on top of the text.

Better default settings would be "Do not hide on mouse out", "button next to icon and text" and "silding icon and text" enabled, with the button size to maximum and "vertical center" position set so the button looks good (as Ubuntu has them). it would be definitely more user friendly.

Also, having "silding icon and text" working when "show only when maximized" is disabled would be very nice. Right now, when no app is open, "plasma desktop" is displayed but with a space between the text and the left part of the panel.

screenshot_20170425_164053 screenshot_20170425_164114

kotelnik commented 7 years ago

Hi! Thanks for these suggestions! It is a bit difficult (I mean not technically, but personally :)) to change the defaults since I use the widget with these exact defaults.

But I agree there is probably a lot of people who tweak the config close to what you are suggesting. I intend to create some pre-configured profiles (e.g. Unity-style, Dev-style, Mac-style) so user wouldn't have to go through all the tedious settings...

As for the space left of the "Plasma Desktop" I cannot replicate it. Is it still a problem? If so, what is your settings? I tried the one from the screenshot but it worked fine in this regard.

GauthierPLM commented 7 years ago

Hi,

I'm really sorry for the response delay, I missed the part where I was supposed to answer ...

Well, the space left happens on every configs I did. Create a new panel and add the AWC widget to it. Then enable the buttons and enable "Button next to icon and text" so they don't overlap. Apply and now, when you go back to desktop, there is this space between left corner and the "Plasma desktop" title. It's how I managed to have this bug if I remember well.

As I reported this from my work computer, I just installed it on my personal desktop but can't reproduce as the content of the AWC setting window doesn't appear (borders are here but not the content). I use Qt 5.9 + latest version of KDE/Plasma available on ArchLinux (Framework 5.33 and Plasma 5.9 now).

Edit: this bug only happened just after adding the widget (tried to open settings 3 or 4 times) but after logging out, it displayed correctly.

Also, I managed to reproduce it on a fresh install of AWC and here is a screenhot.

screenshot_20170514_025920

BTW, what are the "sliding icon and text" and "dynamic width" options supposed to do ? I didn't saw any difference when enabling them.

MggMuggins commented 7 years ago

Not sure if this is a good place for this, but how about in addition to "Sliding icon and text", also provide the option to replace the text with the buttons. This is straight out of Unity, but I think it would definitely be used by users trying to emulate Unity to a degree (like me :P). I can move that to a new issue if you'd like.