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.

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

DiscipleOfDante

4 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

4 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

4 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

nowardev

4 years ago

well plasma has a nice feature , that it's called plasma shell console , where you can use javascript to script plasma and so ... add widgets and configure them

for example open the console with this :

qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.showInteractiveConsole

then add the code

http://paste.ofcode.org/qy4ap6Hy3hx7jcRhEvPybi

and click on execute it should appear a new panel with your widget but unluckly the configuration is not read so i guess you need to tweak a little bit the code

i guess youi need to read this

https://techbase.kde.org/KDE_System_Administration/PlasmaDesktopScripting#Widget_Object_API

Report

C

clearmartin

4 years ago

I understand now. I didn't know there is a plasma shell console. I definitely look into this. Thank you.

Report

C

clearmartin

4 years ago

Thanks for the point with the "almost same name". I wasn't aware of the other widget. My intention was to recreate this one: http://kde-apps.org/content/show.php/Yet+Another+Window+Control?content=139916

But I realize in both cases I have to add much more features. I'm planning to look into that this weekend.

Also thanks for the requests/recommendations. I will be adding these features soon. What exactly did you mean by the mouse scroll over the widget?

Report

DiscipleOfDante

4 years ago

Well I was thinking, if you want to create a simple, minimal widget, you could make it so that if your scroll up whilst the cursor is over the applet, it will maximize the window and the opposite will minimize it.

Report

C

clearmartin

4 years ago

I see, thanks for this suggestion. I've done these changes to the version 1.1. But all this can be disabled.

Report

DiscipleOfDante

4 years ago

If I could offer another suggestion, add an option to use varying size buttons? Best to me would be to add an option to make buttons the same size as the title font. On a small horizontal panel, those buttons are tiny, and thus hard to press. and another thing is a minor bug, but when I mouse over the applet, the buttons form over the title of the open application rather than to the left of it. I personally like the idea of the buttons pushing the title to the size when they appear but I doubt that that will be easy to code in. It is your applet after all. keep up the good work :D

Report

DanaKil

4 years ago

nearly the same name as this one : http://kde-apps.org/content/show.php/ActiveWindow+Control?content=91258 (not sure if this is really a problem)

I'm the original author of ActiveWindow Control but I don't maintain it anymore.

Report

DiscipleOfDante

4 years ago

I think this is merely a port/recreation of your plasmoid? As it is a Plasma 5 plasmoid, and not a KDE 4 plasmoid, as well it lacks many of the features yours has.

Report

DiscipleOfDante

4 years ago

Could I request/reccommend these features?

1) add support for minimize/maximize (perhaps using mouse scroll over title?)

2) variable length of applet? Programs like firefox will have multiple lines, which looks ugly on a small panel.

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
83
page views 24h 74