Active Window Control

Plasma 5 Applets

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

25
8.7
Available as/for: -
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 3 years ago

Fixed Plasma 5.8 compatibility regression.

C

clearmartin

5 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

5 years ago

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

Report

Condoulo

5 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

5 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

9

schnelle

5 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

9

schnelle

5 years ago

position: upper right. found it :)

Report

Hombremaledico

5 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

5 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

9

DiscipleOfDante

5 years ago

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

Report

C

clearmartin

5 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

9

technic93

5 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

5 years ago

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

Report

9

DiscipleOfDante

5 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

5 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

9

DiscipleOfDante

5 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

5 years ago

np, I'm glad to hear that:)

Report

9

DiscipleOfDante

5 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

5 years ago

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

Report

9

DiscipleOfDante

5 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

5 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

9

DiscipleOfDante

6 years ago

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

Report

C

clearmartin

6 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

9

DiscipleOfDante

6 years ago

Yes it probably would be. To be honest I think the best option would just be to have an option to a) statically post the buttons and to B) have the buttons size be as tall as the text.

Report

nowardev

6 years ago

hi , maybe you don't know but , there is plasma panels collection , which it's a simple collection of javascript scripts to load plasma panels .

it would be handy if the yours would be loaded with javascript support

Report

C

clearmartin

6 years ago

I'm not sure what you mean. Do you mean the support for installing this widget to panel over Plasma Panel Settings -> Add Widgets... -> Get New Widgets -> Download New Plasma Widgets? If this is the case, could you please point me to the right documentation/tutorial?

Report

1.7.3 3 years ago

Fixed Plasma 5.8 compatibility regression.

1.7.2 3 years ago

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

1.7.1 4 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 4 years ago

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

5 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
11498
product-maker axel-huerta Sep 12 2020 10 the best
10 the best
product-maker ulliperk Sep 05 2020 7 good
Vala-panel appmenu, fcitx-Appmenu and mate appmenu are able to show some sort of menu bar while no program is active and only "Desktop" is shown. Is it possible to implement that feature into this widget or to design something similar?
product-maker piotrintes Aug 20 2020 10 the best
Seamingly simple but realy amazing when you play with it.
product-maker rijads Jul 22 2020 9 excellent
Maximize doesn't switch to restore button after window is maximized, it still shows maximize button.
product-maker harktu Apr 24 2020 10 the best
10 the best
product-maker m4xp1 Dec 04 2019 9 excellent
9 excellent (Why i can't set double click mouse by widget for close active window?) And for mouse wheel click for minimize/maximize)
product-maker hapi-txt Nov 21 2019 10 the best
Great customization tool!
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-os-team 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
Be the first to comment
bialyikar
Oct 24 2020
axel-huerta
Sep 12 2020
madeiraantonio97
Jul 14 2020
csaratakij
May 16 2020
airwolf776
Feb 20 2020
artdev
Feb 06 2020
m4xp1
Dec 04 2019
rokre22
Aug 02 2019
leshiyice
Apr 18 2019
jsalatas
Jan 08 2019
demontmk
Nov 26 2018
topo-ge
Nov 04 2018
belozer
Oct 08 2018
jotasete
Sep 18 2018
yogeshm02
Jul 14 2018
beny94
May 18 2018
ferchoj
May 14 2018
Yuvon
May 04 2018
AkinaySau
Apr 19 2018
jfebrer
Mar 11 2018
slm33
Feb 28 2018
ibrahimMohammad
Oct 02 2015
hacklov
Apr 30 2015
mareex
Mar 28 2015
DiscipleOfDante
Mar 24 2015
File (click to download) Version Description Devices Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.7.3
updated Jun 08 2017
added Mar 24 2015
downloads 24h
43
mediaviews 24h 0
pageviews 24h 43