
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
A QML plasmoid which shows the application name of the focused window.
Features:
* Shows the application name of the focused windows
* Shows the activity name if no window is focused
* Optionally, it shows the window title (enable this option in the settings)
* Optionally, it shows the application icon (enable this option in the settings)
* A fixed width can be set through the settings dialog
* Font style (bold/italic/underline), family and color are customizable too
* A tooltip shows current application name and windows title
6 years ago
2.0
* Add a tooltip which dispays current application name and window title
* Add the option to set the maximum width for the plasmoid
* Add an option which allows to display the activity name everytime or to completely disable this feature (Issue #4).
1.9
* Fix cmake install dir
* Add the option to set the font family through the settings dialog
1.8
* Fix the Bold setting not restored (Issue #2)
* Fix the plasmoid height in the panel
* Fix the text vertical alignment not centered
* Add the Underline text setting
* Drop the Frame element
1.7
* Added an option in the settings to show the application icon
1.6
* Fix regression. Center the text ever.
1.5
* Added an option in the settings to set the font style (bold or italic)
* Added an option in the settings to set the font color
* Added an option in the settings to set the plasmoid effect (Plain, Raised, Sunken)
* Set a minimum value for the fixed width
1.4
* Add an option in the settings panel to set a fixed width
* Downgrade KDE required version to 4.8
1.3
* Add an option in the settings panel to show the full window title
1.2
* Renamed as Application Name Plasmoid
1.1
* Show the name of the activity if there's no window focused
1.0
* First release
6 years ago
2.0
* Add a tooltip which dispays current application name and window title
* Add the option to set the maximum width for the plasmoid
* Add an option which allows to display the activity name everytime or to completely disable this feature (Issue #4).
1.9
* Fix cmake install dir
* Add the option to set the font family through the settings dialog
1.8
* Fix the Bold setting not restored (Issue #2)
* Fix the plasmoid height in the panel
* Fix the text vertical alignment not centered
* Add the Underline text setting
* Drop the Frame element
1.7
* Added an option in the settings to show the application icon
1.6
* Fix regression. Center the text ever.
1.5
* Added an option in the settings to set the font style (bold or italic)
* Added an option in the settings to set the font color
* Added an option in the settings to set the plasmoid effect (Plain, Raised, Sunken)
* Set a minimum value for the fixed width
1.4
* Add an option in the settings panel to set a fixed width
* Downgrade KDE required version to 4.8
1.3
* Add an option in the settings panel to show the full window title
1.2
* Renamed as Application Name Plasmoid
1.1
* Show the name of the activity if there's no window focused
1.0
* First release
luisfpg
7 years ago
I have 3 suggestions:
* Add a max width, so when showing the application title, it would be possible to control the maximum size, but still would show all content for small titles;
* Add a tooltip to show the entire content when it doesn't fit;
* Add an option to only show for maximized windows, so the title is not displayed in 2 places at the same time when using kwin's BorderlessMaximizedWindows=true.
Again, great job!!!
Report
ilpianista
6 years ago
I implemented #1 and #2, but I don't get the issue you have with BorderlessMaximizedWindows, could you attach a screenshot?
Also note that Tasks Plasma engine flags as maximized the windows that are maximized only vertically/horizontally.
Report
luisfpg
6 years ago
I meant with the "only show for maximized windows" something similar to the kwin button plasmoid: to only show if the current window is maximized, so they don't appear in the application window and the panel.
With the application window title, is the same. On the following screenshot, the application title shows up both in the panel and in the window: https://lh4.googleusercontent.com/-9z8hl5IaNss/UwFvFdBPXdI/AAAAAAAABUk/gNgiPQ2hqyc/w983-h553-no/application-name.png
This is something like Unity, where the top panel behaves like the window decoration for maximized windows. Otherwise, it's just a panel.
Report
msx
7 years ago
Needless to say ApplicationName is working great so far and I love how much customizable it is.
Thanks a lot bash!
Report
KennyMInigun
7 years ago
Report
ilpianista
7 years ago
no, there's already the "Current Application Control" plasmoid for that.
I use this with the menubar plasmoid. I also disabled the titlebars in KWin so this is useful to me.
Report
KennyMInigun
7 years ago
Report
KennyMInigun
7 years ago
Report
Plookard
7 years ago
I really need that app
Report
ilpianista
7 years ago
Report
samuaz
7 years ago
thanks
Report
cahyadid79
8 years ago
thanks.
Report
cahyadid79
8 years ago
Report
dotNet
8 years ago
Second, I run it on KDE 4.9.3 and it works fine. I didn't remove the Kwin titlebar as it's useful to drag and move windows, but i did remove the label text, have some issues with rendering under Emerald. All in all this is very useful in that scenario, especially with the application name option. Great that the font color can be configured, and that there's the "plain" style included. I guess I wish there could be shadows for text, to be consistent with the menubar widget and/or plasma theme text style, but that's minor.
One more thing - i first tried installing this via the destkop, add widgets>download... however no dice. It said it installed, but it wasn't available on the system. Compiled it from source though.
Report
dgvirtual
8 years ago
Damn, that is what I needed the most!
Report
Moviuro
8 years ago
here is a screenshot of your plasmoid:
http://wstaw.org/m/2012/10/01/plasma-desktopKSs583.png
And well, it would be great to have the text displayed by it behave like XBar's.
Else, it was a good idea to propose "Sunken, plain or raised" :)
An other enhancement would be :
Use the default color (in the KDE settings) unless the user ticks a box and chooses an other color (usefull for people using some weird colors in themes or changing often ^_^)
Thanks :)
Report
ilpianista
8 years ago
I guess I can't reproduce your issue on KDE 4.9.2. http://wstaw.org/m/2012/10/03/applicationname-plasmoid.png
Thanks for the suggestions!
Report
joker777vs666
8 years ago
My panel is on the left side. That means that there is only little space horizontally.
Some thinks I notized or would like to have improved for this context if possible:
* the hight is too high. That means it has quite a big margin vertically.
* Could it be possible to break the text dynamiclly depending on the width also with hyphenation?
Thanks for your work
Report
gcala
8 years ago
Now my wish: an option to set max/fixed plasmoid width, so beside plasmoids remain in place and not move frantically :D
For too large text:
* trailing dots (f.i., "Extra-mile in ...")
or
* scrolling text (very funny; as for <marquee> html tag)
Report
ilpianista
8 years ago
I chosen the elide option ;)
Report
gcala
8 years ago
Probably width default value should be greater than 0 and not less of X px (f.i., if a user checks the option and closes config dialog without changing its value, what happens to a 0 width plasmoid?)
Many thanks
Report
lgsalvati
8 years ago
Gran bel plasmoide,complimenti!!
Report
ilpianista
8 years ago
Try disabling the KDE version check in the CMakeLists.txt and see if it works. Let me know, so I downgrade the KDE version in the cmakelists ;)
Report
lgsalvati
8 years ago
Also in kubuntu i had to change the prefix in DCMAKE_INSTALL_PREFIX=/usr/ otherwise plasmoid does not appear in list.
Regard the style,how i can use just a label with bold text?
Finally click on title can be show a list of current applications on the desktop.
Thanks for you work!
Ciao :)
Report
ilpianista
8 years ago
Report