Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving text is stale #41

Open
jeblad opened this issue Jul 28, 2023 · 2 comments
Open

Moving text is stale #41

jeblad opened this issue Jul 28, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@jeblad
Copy link

jeblad commented Jul 28, 2023

Upon enabling this extension I noticed the moving text is stale, i.e. the marquee in the top pane. It shows the correct text, but it does not move. And yes, “display mode” is set to “marquee”.

I run Gnome 44.2, on Ubuntu 23.10, with X11.

Note that your code says it should be version 21, yet the installed extension reports version 22.

From journalctl I got

Spotify appeared on DBus.
ncspot vanished from DBus.
meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed

The last entry is probably something else, it pops up even if the extension isn't enabled.

I use the ordinary client from Spotify.

john@chimera:~$ spotify --version
Spotify version 1.2.11.916.geb595a67, Copyright (c) 2023, Spotify Ltd

This bug has been previously reported at Gnome Extensions

bilde

@jeblad
Copy link
Author

jeblad commented Jul 28, 2023

Seems like the code does what it is supposed to do, but on smaller screens the label widget will be truncated, thus the marquee text will not move because the actual text is shorter than the given marquee length. Still the width of the label widget is to short to accommodate the full text, so it becomes visually truncated and does not scroll.

@esenliyim esenliyim added the bug Something isn't working label Oct 10, 2023
@esenliyim
Copy link
Owner

Bit late here, but...

Let me see if I've understood it correctly. When the marquee length is set to a value larger than the max possible width of the label, and the label text is too short to trigger a marquee but still long enough to get automatically truncated by the panel, you end up with a truncated static text. Does that sound about right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants