psifidotos / applet-window-title Goto Github PK
View Code? Open in Web Editor NEWPlasma 5 applet that shows the application title and icon for active window
License: GNU General Public License v2.0
Plasma 5 applet that shows the application title and icon for active window
License: GNU General Public License v2.0
No title is displayed at all (not even the 'Default' text) when the image viewer 'sxiv' is the active window. Is there a possible fix for this?
I've placed the "Digital Clock" and the "Appliation Launcher" widget in the middle of my top latte bar:
In case of the window title is longer than actual space is left, the title is not elided. Instead of it is expanded underneath the two plasmoids:
Expected behavior:
Awesome behavior:
Additional information:
To ensure that the clock and the application launcher is always in the middle, I put the two justify splitter around them:
Most dialogs like file open dialogs are neither shown in this applet nor in the window button applet.
In the previous version there was a nice space between text and icon, now it looks like that:
Previous space should be restored or we may get additional option to adjust the spacing between icon and the text? It would be nice, although is not essential. However, the spacing may be a matter of argument so having option to control that would eliminate that ;).
I guess most users (but probably not all) set the window title applet on the left and the global menu on the right.
In this configuration, I "see" an asymmetric margin between left and right. The margins set by the window title applet are in fact symmetrical but given that the global menu is implemented as buttons, which have internal margins, the apparent margin on the right (which is what I guess most users care about) is visually larger than the margin on the left.
Do you think the applet could compensate for that as an option? In any case this should be default behavior as not all users shall display "window titlle + global menu"
[ Side note: This was one of the reasons why I gave three instead of two spacing options in my applet (left, right and in between). This is probably not needed if given the option to substract the (inside) button margin from the window title right margin, so that the total left and right margins look completely symmetrical in the panel view. ]
AWC has this and I would love to see this feature for applet-window-title
and applet-window-appmenu. For me the font is far too small compared to the font in my window decorations. Please give the us the option to customize that.
Would it be possible to add this option? applet-window-buttons has this, so it would be great if this applet could do the same.
I suggest to add a 2nd default entry e.g. Gimp-.* -> Gimp
to teach users how to use that feature a bit more detail: he can use a RegExp Match, how to add another entry properly...
Looks that it's having the same issue that applet-window-buttons ( psifidotos/applet-window-buttons#19 )
We are missing the option to add a chosen icon for the desktop view like it was possible in AWC.
Currently, the look is screaming: aren't we missing something ;)?
The applet is reserving space for the icon but of course, none is shown because we can't specify any.
I would like to add Manjaro icon there, some will add tux icon or... mac icon ;p. Whatever, this is fun and looks cool.
And if someone doesn't want to have an icon, there shouldn't be any space reserved.
I was eager to get 0.2-1 features so I installed previously git version. I didn't see any improvements, all was exactly as on 0.1. I assumed, something may be wrong with my install.
Today a new version showed up officially. I installed it and... I see the same problem. No changes. It still looks like v0.1. The same options, the same bugs. Nothing new and nothing like on the screen you posted.
Can someone else confirm that or is it just me?
I specially uninstalled the applet with its config using:
sudo pacman -Rn plasma5-applets-window-title
Then installed it via AUR again, rebooted latte. PKGBUILD points to the release version so all seems to look good and yet no new features are to be seen.
A reference to #36 , having uncovered this error. By disabling the applet's option to show an icon alongside the window title, the entire title is not shown while using Plasma's panel. This error is not seen using Latte dock.
Using latest Latte git version and latest window Title Applet;
I don't think the application icon should be painted when using the auto-coloring feature. I'd prefer to see the icon with its color, instead of a grey blob.
Is it possible to paint only the application name, and not the icon?
There are a few reasons for why end user fine-tuned title replacements are important:
My examples summary (other users may have others):
Firefox web browser --> Firefox
Chromium web browser --> Chromium
Google Chrome --> Chrome
Gimp-2.10 --> Gimp
Telegram Desktop --> Telegram
MATLAB --> Matlab
I have this implemented in a very minimalistic function in https://github.com/kupiqu/plasma-active-application.
If implemented, it seems you prefer not having the replacements in the window settings but in the config file. This is the missing component that would need adjustment.
If there are > 5-6 substitutions, correspondence between matching
and replace with
is easily lost.
One solution for this wculd be a table but it's fine you find them ugly, and I agree that, other than because of this, current solution is quite good too...
So I would suggest that the scroll bar of match and replace with would be linked, so moving one would move the two fields so correspondence is always paired.
An alternative to this, although less good would be allowing resizing of the pop-up, and somehow keeping the size for next calls.
Firefox title and application name isn't show. I only get a "By default" ("Por omision", I have my local set to Spanish). I already try all Style options to change what text is show, and I keep getting the same text.
A request I have it the ability to specify or substitute the text that shows up when you're focused on the desktop instead of an application. An example would be setting the text to my computer name, so in my case it would be "Noctowl" or "Nebby", or I could have the distro name there such as "Kubuntu" or "Fedora".
Along with this request, the ability to set a custom icon that shows when you're focused on the desktop itself, such as the distro logo or whatever the user may wish.
An example of a tool that already provides this functionality is Active Window Control.
plasma-active-application conveniently displays a tooltip with full window title when widget displays only application name. Option to do the same would be very convenient. That way we get a minimalistic look while maintaining ability to see window title of maximized windows without moving them.
P.S. Perfect applet, especially love the fact that widget also allows dragging it to move maximized borderless window. Also it works in sync with window buttons applet on multiscreen. Now we need to strong-arm global menu applet maintainer to implement same multiscreen support and hiding when window is not maximized. Thank you for all these great things made for plasma ❤️
Currently it is added to the left margin.
This request is to add configuration options to invoke a any/all of the following kwin actions when clicking the applet:
qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "Expose"
qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "ExposeAll"
qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "ExposeClass"
qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "ShowDesktopGrid"
As far as I can tell, while double-click is already used for maximize/restore, nothing is assigned to single-click.
It is very easy to adjust the activity name to any style. Please make the window title applet respect user's preference by preventing auto-capitalization.
Are there any plans for this? Wouldn't these 3 cooperate better if they were under the same package?
I think it's better to have that one closed after users selected an item.
It helps distros create the package for their users.
Btw, there is a small typo:
Plasma 5 applet that sShows the application title and icon for active window
When the display of the application icon is disabled, the title is shrunk to the three dots and possibly some letters at the beginning, despite the fact that the panel has an available space on it.
However, if the the icon is enabled in the applet's settings, the correct width of the title is restored.
With the icon:
The rest of the applet's settings:
The panel is Latte's one, however this behavior is also reproduced on a plasma panel too .
Enable the user to hover over the window title in order to show the Window AppMenu
As of the latest commit (9557c0e), switching between applications yields some lag. This comes in the form of a few seconds of adjusting its spacing. Sometimes the entire title won't be shown until a little while in, or the whole title might be shown, and the space it uses takes time to be reduced. This can be seen in the GIF image below.
Tested on version 4
This is with Chromium open to this site https://github.com/psifidotos/applet-window-title
This happens when the title text exceeds the limit and is cropped off. If I use a higher characer limit, the title is aligned properly:
Some users prefer to display some other interesting title to the default "Plasma".
E.g: I'd like to be able to display "Plasma desktop <3", it shows my happiness when I'm sitting in front of awesome KDE stuff like Latte, applet-wnidow-buttons, applet-window-title ....
I noticed this problem on my main computer and I had to enter the number many times but somehow with the combination of entering the digit and arrows, I finally got it working and didn't mention it anywhere.
I wanted to set "Length" parameter on other computer and I noticed this problem again but this time I wasn't successful and had to click and hold the up arrow so long till it showed 700px.
Strange is, once I set it so high, I can modify the value without problem. It's the initial value change that does something weird, so after saving it defaults to 1 px and I can't set it with entering digits directly then, but after applying 700px with arrows it's possible then to change it directly.
I had to have more machines or more time to reset panels to test it more. You may close the thread if that's not important (it eventually works but with some small issues along the way), but I just hope you remember it if people will be complaining about not being able to set the length parameter.
Hi
Thanks for this nice widget.
Please add an option to this widget show title of last maximized window instead of active window title
Thanks in advance.
Hi psifidotos, I am trying to install this with portage but I can't since it doesn't contain a cmakelists.txt. Instead of relying only on plasmapkg2, consider adding an install target for make to work with.
I can provide the patch if you inform me where the applet is supposed to be installed system-wide.
Thanks.
Right now, double clicking on the applet maximizes the window or restores it to the previous size. It would be great if there was an option to scroll up for maximizing and scrolling down for restoring. It would fit great with Plasma's already existing option that allows you to scroll up over the window's title bar to maximize.
Add a option to only show the application icon or split icon and application title in two separate applets.
On my case, I have this build done with 3 instances of Active Window Control and a Global menu :
I could replaced (and I done) the AWC instance that shows only the application by Apple Window Title, but I can't replace the application icon at the left of the Global menu.
So appearently, when you have a multi-monitor setup (in my case 3 monitors) and have:
the window title just display "Default" instead of the actual window title.
--
Currently running latest KDE neon version.
uname-output:
Linux 4.15.0-38-generic #41-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Plasmashell version: plasmashell 5.14.3
It would be nice if you can add this feature :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.