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

20
Score 86.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 2 years ago

Fixed Plasma 5.8 compatibility regression.

vmorenomarin

2 years ago

I confirm the issue.

Report

MichaelTunnell

2 years ago

it kind of works in terms of the widget settings controlling stuff like border removal on maximized but the main purpose of the widget is pretty much entirely broken. The only thing it ever says is "Plasma Desktop" so it doesn't seem to recognize any applications.

Report

ishovkun

3 years ago

Thank you for the great widget! I'd would be perfect if you allow the control buttons to follow the active widow decoration theme. And again, I really appreciate the work you put in this plasmoid.

Report

J_VM

3 years ago

Thank you so much for this widget! I really like it, its very functional and you can save space in you monitor!
As other people have suggested, it would be a great idea to have the menubar implemented, and the "drag" for unmaximize support. Thank you so much, I hope you continue your work on this project.

Report

kishore96

3 years ago

Nice widget. Please add an option to close the window on middle click. I need this so the the behaviour of borderless maximised windows is consistent with the behaviour of non-maximised windows on my setup.
Another issue — is there any way I can make the close and maximise buttons appear immediately to the right of the window title (ie. without any gap between the text and the buttons)?

Report

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

4 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

4 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

4 years ago

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

Report

C

clearmartin

4 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

1.7.3 2 years ago

Fixed Plasma 5.8 compatibility regression.

1.7.2 2 years 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
1474
product-maker rokre22 Aug 02 2019 10 the best
10 the best
product-maker maurodb Jun 21 2019 10 the best
Thank you! Really useful.
product-maker cybear Jun 18 2019 10 the best
A setting for making the title-bar of maximized windows disappear, and allows you to put the close/maximize-buttons in an auto-hiding panel instead. Preferably in the corner where you are used to have the buttons. Allows a lot of customization! The bad: I don't get the "App menu" to appear. It may be me missing something.
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 9 excellent
+
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 9 excellent
+
product-maker tamer Jan 04 2019 9 excellent
Excellent addon, does everything I need with very customizable options, and works side-by-side with Global Menu
product-maker slm33 Nov 07 2018 9 excellent
+
product-maker topo-ge Nov 04 2018 9 excellent
+
product-maker no1cares Sep 29 2018 9 excellent
+
product-maker jotasete Sep 18 2018 9 excellent
+
product-maker folgui Sep 03 2018 9 excellent
+
product-maker malteketelsen Aug 08 2018 9 excellent
+
product-maker Shevchuk May 14 2018 9 excellent
product-maker Lawless Feb 10 2018 9 excellent
product-maker poamber Dec 24 2017 9 excellent
product-maker unc926 Dec 04 2017 9 excellent
product-maker gustawho Oct 02 2017 9 excellent
product-maker vmorenomarin Jun 08 2017 9 excellent
product-maker Mirko-Gennari Jun 02 2017 9 excellent
product-maker svink May 26 2017 9 excellent
product-maker aldy May 02 2017 9 excellent
product-maker xindelar May 01 2017 9 excellent
product-maker yogeshm02 Apr 10 2017 9 excellent
product-maker jacobtey Mar 17 2017 9 excellent
product-maker alex-l Mar 17 2017 9 excellent
product-maker meattits Mar 02 2017 9 excellent
product-maker FraQu Feb 26 2017 9 excellent
product-maker maciaschain Feb 26 2017 9 excellent
product-maker IkiruOG Feb 01 2017 9 excellent
product-maker Maboroshy Jan 22 2017 9 excellent
product-maker mirkogennari Jan 15 2017 9 excellent
product-maker feren_double Nov 24 2016 9 excellent
product-maker tepca Nov 17 2016 9 excellent
product-maker dubious Nov 09 2016 9 excellent
product-maker UnderTheGun Nov 09 2016 9 excellent
product-maker izzzy Nov 05 2016 9 excellent
product-maker fracaburda Oct 31 2016 9 excellent
product-maker J_VM Oct 19 2016 9 excellent
product-maker aitorpazos Oct 13 2016 9 excellent
product-maker klysm May 25 2016 9 excellent
product-maker grusta Jan 16 2016 9 excellent
product-maker tomXx Oct 09 2015 9 excellent
product-maker ibrahimMohammad Oct 02 2015 9 excellent
product-maker e1nste1n Sep 19 2015 9 excellent
product-maker schnelle Aug 27 2015 9 excellent
product-maker svah4cky0 Aug 09 2015 9 excellent
product-maker RingOV Jul 03 2015 9 excellent
product-maker technic93 May 10 2015 9 excellent
product-maker hacklov Apr 30 2015 9 excellent
product-maker DiscipleOfDante Mar 24 2015 9 excellent
product-maker Count: 4 Rating: 5.0
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 24h
96
page views 24h 61