GithubHelp home page GithubHelp logo

psifidotos / applet-window-title Goto Github PK

View Code? Open in Web Editor NEW
241.0 241.0 33.0 109 KB

Plasma 5 applet that shows the application title and icon for active window

License: GNU General Public License v2.0

QML 98.03% JavaScript 1.97%

applet-window-title's People

Contributors

chromace avatar dharmann avatar felagund avatar kupiqu avatar psifidotos avatar rl-s avatar trmdi avatar uvera avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

applet-window-title's Issues

Need CMakeLists.txt for packaging

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

Unified scroll behavior in manage substitutions

If there are > 5-6 substitutions, correspondence between matching and replace with is easily lost.

image

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.

Misaligned vertical positioning of title

As shown in the below screenshot, the applet's title is not properly vertically centred in comparison to, say, the global menu applet next to it. The expected result would be to have it properly in the centre.

image

Window title displayed as "Default" when selecting a window from another monitor

So appearently, when you have a multi-monitor setup (in my case 3 monitors) and have:

  • 1 panel on 1 monitor
  • 1 window on a different monitor selected

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

No title for sxiv image viewer

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?

show title of last maximized window

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.

Consider adding a CMakeLists.txt

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.

[Feature] Display title of inactive windows

You can display applet-window-buttons and applet-window-appmenu with inactive windows, but currently this applet doesn't provide such an option.

image
E.g. It should display "Dolphin" instead of "Plasma desktop <3"

The window title is not maximized without a visible application icon

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.

Without the icon:
without_icon

However, if the the icon is enabled in the applet's settings, the correct width of the title is restored.
With the icon:
with_icon

The rest of the applet's settings:
widget_settings

The panel is Latte's one, however this behavior is also reproduced on a plasma panel too .

[Feature request] add a option to only show the application icon

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 :
imagen

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.

Window title is not elided when digital clock plasmoid is placed in the middle

I've placed the "Digital Clock" and the "Appliation Launcher" widget in the middle of my top latte bar:

screenshot_20190102_125517

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:
image

Expected behavior:

  • Elide the string when space is gone

Awesome behavior:

  • Elide the string starting with the clock and resume it after the application launcher.

Additional information:
To ensure that the clock and the application launcher is always in the middle, I put the two justify splitter around them:
image

Feature Request: Add option to scale font

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.

Tooltip with window title?

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 ❤️

Request: Click-activated expose_ actions

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.

No title for sub-dialogs

Most dialogs like file open dialogs are neither shown in this applet nor in the window button applet.

No changes in 0.2-1or git version visible

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.

Allow for end user fine-tuned title replacements

There are a few reasons for why end user fine-tuned title replacements are important:

  • style preference for minimalistic names
  • style preference enhancing system coherence (MATLAB --> Matlab), avoiding redundant or already known information (Firefox web browser, Chromium web browser), or pretty much useless for many users (Gimp-2.10; unless a user has a system with Gimp-2.8 and Gimp-2.10, there is no much benefit; Telegram Desktop, desktop... what else could it be?)
  • available space in horizontal panel is limited (global menu of certain apps is long + system tray + other applets like weather + user switch + buttons + etc). Web browser names are particularly long for, arguably, no reason
  • AppName bugs, e.g., Back In Time at the moment which displays python3 instead of proper name. I reported and sent a pull request to fix this but it is still under processing, and will take a while until this is release, having fine-tuning replacements workarounds the issue until then.

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.

Application icon painting

Using latest Latte git version and latest window Title Applet;

  • Kubuntu 18.10, Plasma 5.15;

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?

[Feature request] Add an option to customize the "Plasma" title

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 ....

left vs. right margins look asymmetrical (window title + global menu layout)

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. ]

Length parameter is hard to set - problem with input box

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.

No space between icon and the text

In the previous version there was a nice space between text and icon, now it looks like that:

screenshot-2018-11-24-16-02-52

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 ;).

New option - custom icon on desktop view

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 ;)?

screenshot-2018-11-24-21-50-57

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.

Give more examples in Manage Substitutions...

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...

Ability to Substitute "Default"

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.