Active Window Control

Plasma 5 Add-Ons

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/kotelnik/plasma-applet-active-window-control

19
7.8
Description:

Plasmoid which just show active window title and icon. Also allows to close active window with cross icon (its location can be configured) and some other actions (like present-windows effect etc).

This plasmoid is particularly useful when using BorderlessMaximizedWindows=true setting (in ~/.config/kwinrc under [windows] section). This option can now be turned on/off directly from widget settings.

REQUIRED DEPENDENCIES
- qt5-graphicaleffects
- e.g. package for kubuntu users: libqt5qml-graphicaleffects

HOW TO INSTALL
- Add Widgets... -> Get new widgets -> Download new plasma widgets
- find this applet and install through the first item with .plasmoid extension

AUR: https://aur.archlinux.org/packages/plasma5-applets-active-window-control-git/
Last changelog:

1.7.3 1 year ago

Fixed Plasma 5.8 compatibility regression.

C

clearmartin

3 years ago

Hi! Thanks for suggestions!

ad middle-click) Good point, should be easy, next release :)

ad button-text) The issue is the blank spot between buttons and text where the icon was before it was hidden, right? I believe you can minimize "Button spacing" and adjust "Icon and text spacing" to position the text. But maybe I understand your use-case wrong...

Report

kishore96

3 years ago

I'm talking about the space marked with red in this screenshot http://postimg.org/image/u69dcrz2r/

Report

marchin

3 years ago

I like only using the buttons (no icon, no program's name, etc), problem is that the widget doesn't adjust its height, so i have unpleasant blank space above and below the buttons.

Great work by the way, keep it like that

Report

C

clearmartin

3 years ago

Hi! Are you using it in horizontal or vertical panel? Have you tried changing buttons size? This settings is in Buttons section of the widget settings.

Report

marchin

3 years ago

Vertical. Yes i tried but they don't fit,it gets too width

Report

Condoulo

3 years ago

I'm going to start off with the fact that this is a great widget. It offers functionality I want without being flashy. However there are a couple things I'd like it to do along with a quirk that bugs me.

The Quirks:

1. If I have 'Show only when maximized' and 'Buttons next to icon and text' even when unmaximized it just leaves a blank space to the left of the title.

To remedy this I have to enable both 'Do not hide on mouse out' and 'Sliding icon and text'

2. When I have all those options enabled, it just simply hides the buttons rather than disabling the functionality when your on an unmaximized window.

Current Behavior: If I click anywhere around the far left portion of the widget I could still be unintentionally closing, maximizing, or minimizing my window.

Expected Behavior: Enabling all those options should completely disable those buttons for an unmaximized window and should only work when a window is maximized.

Suggestions:

1. I'd like to be able to click on any part of the panel the widget is a part of and drag to unmaximize a window if it's maximized, like one can do in Unity.

2. I'd like the ability to get the window control context menu when clicking on the application icon.

3. The ability to re-arrange the button layout.
- As an addition maybe adding a pin to all desktops button too.

4. I'm going to go ahead and add another voice for menubar support when KF5/Plasma 5 gets support for it.

Report

C

clearmartin

3 years ago

Hi, thanks for feedback and suggestions!

ad Quirks: If I understand it right the bug to fix is: disable the blank spots (where the buttons will show up for maximized windows) so they don't trigger the action when clicked on. I'll definitely repair this one. Thanks!

Suggestions
ad 1) This is number one for me, too. I was used to it in KDE4 in similar widget. Already tried to implement it but wasn't successful at the time of creation of this widget. Now I've already learnt how to make C++ extensions so it shouldn't be that hard...

ad 2) Regular task manager widget has it so I should be able to do the same.

ad 3) I was lazy to do that but I'll eventually make that happen...

ad 4) I definitely plan to work in the menubar. Like you said - as soon as it is supported in Plasma/KF5.

Report

schnelle

3 years ago

I use only 2 buttons on panel: close and minimize. How to make close button to stay on far right (like on your 3rd screenshot?

Report

schnelle

3 years ago

position: upper right. found it :)

Report

Hombremaledico

3 years ago

This plasmoid looks promising. If you appreciate suggestions:

- Make an optional 'menu' mode, so instead of having iconized buttons within the panel, they can be visualized from a dropdown menu activated by clicking on the title/icon (eventually support the entries from the menu button ?)

- Possibly, set a max cap for the window title (in certain apps - firefox for example - the title string can take a lot of space)

- More space between the icon and text - just for fashion (this is me being an annoying jerk :P)

Keep up the good work!

Report

C

clearmartin

3 years ago

Hi! Thanks for suggestions!

ad 1) OK this should be doable.
ad 2) I'm not sure I understand. What is cap? What looks bad? Because there already is a logic which decide how many lines of text and how long is the text before it gets short with ellipsis.
as 3) This is simple, I can do that.

Report

DiscipleOfDante

3 years ago

I love the new button options, they are incredibly sexy. Still waiting on the menubar support though.

Report

C

clearmartin

3 years ago

Thanks! And about the menu bar - I've investigated a little bit and it seems there is no menubar export support in Plasma 5 yet. I've also didn't see the menu button option in kwin decorations. When this is supported in plasma5/kf5 I think I'll be able to make the menubar support in the widget happening.

Report

technic93

4 years ago

This is excellent widget. I need it to be smaller to not overlap menubar in qtcreator or tabs in google chrome. So I've commented out text entry in qml, however I will appreciate if you do an option for this.
Snapshot:
http://postimg.org/image/ubreg9lp3/

Report

C

clearmartin

4 years ago

I will:) I didn't think of this use-case.

Report

DiscipleOfDante

4 years ago

Okay so like, if you are browsing the web, the page titles can get pretty wordy, so it is possible to add a tickbox to put it so that after so many words, it just trails off with ellipses?

Report

C

clearmartin

4 years ago

My bad again. There is a mechanism to limit number of rows in text based on panel height, too. But now I see that for really thin panel it doesn't work. I will provide a fix later this day. Thanks for reporting bugs btw:)

Report

DiscipleOfDante

4 years ago

The fix works perfectly, and now this applet is working exactly as I needed it to. Thank you for your work, and for listening to my complaints and bug reports

Report

C

clearmartin

4 years ago

np, I'm glad to hear that:)

Report

DiscipleOfDante

4 years ago

No problem, Plasma needs good extensions, and this is the first 3rd party one that is of any use to me :D

Report

C

clearmartin

4 years ago

Sorry, my bad. I was using [wrapMode: Text.WordWrap] instead of [wrapMode: Text.Wrap]. Now it should be fixed.

Report

DiscipleOfDante

4 years ago

Wouldn't this just cause it to wrap into the next line? It already does this and it is this exact behaviour I am trying to avoid, as I use this applet on a very thin panel and it comes out extremely ugly when it happens.

Report

C

clearmartin

4 years ago

It is already there. I mean the automatic ellipsis. But it seems QT component "Text" is not perfect and does not handle long non-spaced strings so they are overflowing... Maybe it will be fixed in future versions of QT or maybe I misconfigured the Text component. Can anybody see what have I done wrong?

Anyway I should probably implement some workaround...

Report

DiscipleOfDante

4 years ago

Do you have any plan to perhaps add optional menubar support on mouseover? Similar to Unity's titlebar applet?

Report

C

clearmartin

4 years ago

It also crossed my mind to add some kind of unity-like menu (or menu button for that purpose). But first I need to figure out how to do that :-) It will be definitely the next bigger think I'll look into for this widget.

And to your previous comment: Thanks for your feedback. I will try to set the buttons' size more appropriately. But I really don't know about the "pushing" the title aside while showing up the buttons. It would be too jumpy-looking in my opinion. But maybe if I have time I give it a try.

Report

1.7.3 1 year ago

Fixed Plasma 5.8 compatibility regression.

1.7.2 1 year ago

Plasma 5.10 compatibility, multi-screen aware, aurorae window decoration support, various other fixes

1.7.1 2 years ago

- slight code refactoring (possibly fixed Kubuntu 16.10 compatibility)
- other global menu improvements (global menu is not available in kde.store version of this applet)

Version 1.6.0 2 years ago

- compatibility with Plasma 5.8
- pin to all desktops button
- popup settings and other minor fixes and improvements

3 years ago

1.5.9
- widget settings now allows to switch kwin option for showing/hiding titlebar for maximized windows

1.5.8
- dynamic width (regarding showing / hiding buttons) by Wuxiangdong from github

1.5.7
- text scaling option

1.5.6
- auto-fill width option
- automatic margin for no-window text
- wrapping & eliding text fix

1.5.5
- configurable "Plasma Desktop" text margin
- small fixes & cleanups

1.5.4
- fixed closing window even if control buttons are disabled

1.5.3
- basic context menu actions (close, minimise, maximise)
- configurable space between icon and window title
- button settings fixes

1.5.2
- breeze buttons (+ fixes)
- various additional button settings added (+ settings fixes)

1.4
- support for present-windows effect

1.3.3
- bugfix release
- settings more granular

1.3
- added maximize button
- additional appearance settings

1.2.2
- automatic window title row setting fixed

1.2.1
- word wrap fix

1.2
- configurable button size

1.1.1
- "No active window" changed to "Plasma Desktop" (thanks to sancio6 from github)
- small visual fix in settings

1.1
- customizable minimize button
- customizable maximize/minimize actions
- called by double-click/mouse wheel
- customizable width in horizontal panel
- AUR package

1.0
Initial import

12345678910
1511
product-maker clyton May 20 2019 10 the best
10 the best! I wanted a mac like global menu with all dates and system tray in top panel. This plasma widget's the most detailed and featureful even though some of its features are not being developed. The feature I like the most is it automatically disables titlebars only for maximized windows which saves precious real estate. The app menu was not working so i used global menu widget besides it. I wanted to use this widget primarily for closing, minimizing my windows and that feature is still working. Please keep this widget up-to-date
product-maker Samhaa May 08 2019 8 great
+
product-maker gcjuan Feb 15 2019 3 bad
-It crashes my entire Plasma Desktop depending on the configuration (for example when filling the hidden text on hover). I prefer Plasma Active Application (https://store.kde.org/p/1269296) that is faster, smoother and adapts itself in combination with Global Menu.
product-maker jsalatas Jan 08 2019 8 great
+
product-maker tamer Jan 04 2019 8 great
Excellent addon, does everything I need with very customizable options, and works side-by-side with Global Menu
product-maker slm33 Nov 07 2018 8 great
+
product-maker topo-ge Nov 04 2018 8 great
+
product-maker no1cares Sep 29 2018 8 great
+
product-maker jotasete Sep 18 2018 8 great
+
product-maker folgui Sep 03 2018 8 great
+
product-maker malteketelsen Aug 08 2018 8 great
+
product-maker Shevchuk May 14 2018 8 great
product-maker Lawless Feb 10 2018 8 great
product-maker poamber Dec 24 2017 8 great
product-maker unc926 Dec 04 2017 8 great
product-maker gustawho Oct 02 2017 8 great
product-maker vmorenomarin Jun 08 2017 8 great
product-maker Mirko-Gennari Jun 02 2017 8 great
product-maker svink May 26 2017 8 great
product-maker aldy May 02 2017 8 great
product-maker xindelar May 01 2017 8 great
product-maker yogeshm02 Apr 10 2017 8 great
product-maker jacobtey Mar 17 2017 8 great
product-maker alex-l Mar 17 2017 8 great
product-maker meattits Mar 02 2017 8 great
product-maker FraQu Feb 26 2017 8 great
product-maker maciaschain Feb 26 2017 8 great
product-maker IkiruOG Feb 01 2017 8 great
product-maker Maboroshy Jan 22 2017 8 great
product-maker mirkogennari Jan 15 2017 8 great
product-maker gfdsa3 Nov 24 2016 8 great
product-maker ujnhz Nov 24 2016 8 great
product-maker feren_double Nov 24 2016 8 great
product-maker mnbvc Nov 20 2016 8 great
product-maker tepca Nov 17 2016 8 great
product-maker tremep Nov 17 2016 8 great
product-maker dubious Nov 09 2016 8 great
product-maker UnderTheGun Nov 09 2016 8 great
product-maker izzzy Nov 05 2016 8 great
product-maker fracaburda Oct 31 2016 8 great
product-maker J_VM Oct 19 2016 8 great
product-maker aitorpazos Oct 13 2016 8 great
product-maker klysm May 25 2016 8 great
product-maker grusta Jan 16 2016 8 great
product-maker tomXx Oct 09 2015 8 great
product-maker ibrahimMohammad Oct 02 2015 8 great
product-maker e1nste1n Sep 19 2015 8 great
product-maker schnelle Aug 27 2015 8 great
product-maker svah4cky0 Aug 09 2015 8 great
product-maker RingOV Jul 03 2015 8 great
product-maker technic93 May 10 2015 8 great
product-maker hacklov Apr 30 2015 8 great
product-maker DiscipleOfDante Mar 24 2015 8 great
product-maker Count:2 Rating: 5.00
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
1.7.3
updated Jun 08 2017
added Mar 24 2015
downloads today
115
page views today 64
+