Tudmotu / gnome-shell-extension-clipboard-indicator

The most popular clipboard manager for GNOME, with over 1M downloads
https://extensions.gnome.org/extension/779/clipboard-indicator/
MIT License
893 stars 170 forks source link

"Text will be here" is displayed in the tray and nothing happens by clicking on it. #459

Closed BuZZ-dEE closed 4 months ago

BuZZ-dEE commented 7 months ago

"Hier erscheint der Text" or "Text will be here" is displayed in the tray and nothing happens by clicking on it.

OS: Arch Linux x86_64 DE: Gnome 46 on Wayland Extension version: 61

MeirKriheli commented 7 months ago

Same issue (and setup)

sounddrill31 commented 7 months ago

+1

"Hier erscheint der Text" or "Text will be here" is displayed in the tray and nothing happens by clicking on it.

OS: Arch Linux x86_64 DE: Gnome 46 on Wayland Extension version: 61

OS: OpenSUSE Tumbleweed with 6.8.4 DE: Gnome 46 with wayland Extension Version: 61

Edit: I deleted cache(and disabled and enabled extension) and it's fixed!

 rm -rf cat ~/.cache/clipboard-indicator@tudmotu.com
MeirKriheli commented 7 months ago

@sounddrill31 Thanks, deleting the cache and re-enabling the extension helped here as well.

Tudmotu commented 7 months ago

Possibly related to this? https://github.com/Tudmotu/gnome-shell-extension-clipboard-indicator/issues/458

Tudmotu commented 7 months ago

Can everyone here please try updating to version 62 and see if it fixes the issue for you?

Thanks! :pray:

tanjilbhuiyan commented 7 months ago

Thanks, it seems the issue is fixed. But faced a weird issue. i uninstalled previous one. then installed again. Got error in Gnome extension page. though the extension was downloaded. Had to log out and log in again. It seems working now.

Tudmotu commented 7 months ago

Thank you for testing it out @tanjilbhuiyan !

To update the extension you must log out and back in. This is true every time you update — it only updates after the next login.

sounddrill31 commented 7 months ago

Works so far for me!

Thanks for the fix

arturo-source commented 7 months ago

Hello @Tudmotu, I had the same problem when I updated to 61, then I updated to 62 and the problem kept. Unfortunately I already deleted cache, as @sounddrill31 recommended and it started working again, so I cannot test anymore.

Tudmotu commented 7 months ago

Thank you for confirming @sounddrill31 !

@arturo-source apologies you had to remove your cache file 😕 Hope this won't have to happen again but if it does, next time I recommend renaming the file instead of deleting it, so that you can restore it later on.

MeirKriheli commented 7 months ago

Same here: removed the cache (was not that important anyway), so can't check.

DerPate commented 7 months ago

@Tudmotu can confirm the update to Version 62 fixed the problem for me

Tudmotu commented 7 months ago

Thanks everyone, closing this issue :slightly_smiling_face:

dmnmsc commented 7 months ago

This is still present here. Extension version 62. Archlinux up-to-date with wayland session.

tanjilbhuiyan commented 7 months ago

Clear the cache mentioned by @sounddrill31 . Things should work.

dmnmsc commented 7 months ago

But @Tudmotu said this should work without deleting cache. I'm just reporting the bug :)

AmeyaVS commented 6 months ago

Same here on Fedora 40 after updating the system. I backed up my .cache as I still use some of the clipboard data. Clearing the directory does work, but then I loose all the clipboard data. I have the Extension version: 62 installed.

Update: Deleted all the content from .cache/clipboard-indicator@tudmotu.com, the clipboard indicator was working fine. Till the next reboot where the issue came back.

gentoo-root commented 6 months ago

I figured that it happens when mimetype becomes UTF8_STRING for one or more entries in registry.txt. It still happens sometimes on version 62 during regular work (not upgrade). Could the issue be reopened?

AmeyaVS commented 6 months ago

I changed the UTF8_STRING to text/plain type, and reloaded the extension it seems to work. Can this issue be reopened @Tudmotu ?

djfjeff commented 6 months ago

I have the same problem using the latest version on Fedora 40. Sometime, the issue arise and I need to clear cache for it to work again. Please reopen as this is definitely not solved.

Tudmotu commented 6 months ago

Reopening. Can anyone clarify the steps to reproduce this issue?

  1. Delete cache file
  2. Copy some stuff
  3. Log out, log in
  4. Clipboard is broken?
djfjeff commented 6 months ago

It seems random on my end. Sometime when I unlock my session, I get the "Text will be here" issue, most of the time everything is alright...

I then delete the cache file and restart the extension and I am good for a while.

alephnull commented 5 months ago

What worked for me:

HeroBrine1st commented 5 months ago

It appears to be a problem only on Wayland.

No, it doesn't. Also I did not have UTF8_STRING in that file, I had to remove that folder to fix extension instead. I am on NixOS unstable with GNOME 46.1 via X11+nvidia (and extension version is 62).

On the contrary, I did not face this issue on both Arch Linux and NixOS unstable (installed literally yesterday so i'm not sure) on another machine, which uses wayland.

ewh commented 5 months ago

I'm using Ubuntu 23.10, Gnome 45.2, Wayland. I'm using Clipboard Indicator 57 (installed from extensions.gnome.org). Version 57 seems to be the latest version on extensions.gnome.org for Gnome 45. Should the "Text will be here" issue be fixed in version 57. If not, will version 62 work correctly in Gnome 45?

rebelinux commented 5 months ago

What worked for me:

  • change UTF8_STRING in ~/.cache/clipboard-indicator@tudmotu.com/registry.txt to text/plain;charset=utf-8
  • disable and enable the extension It appears to be a problem only on Wayland.

Solution works for me. thanks!

Snorch commented 5 months ago

If someone still experiences the problem on latest master, please give a try to https://github.com/Tudmotu/gnome-shell-extension-clipboard-indicator/pull/480 and say if it helps or not. (Probably you need to fully reboot to properly reload extension.)

It looks like just doing replacement in registry.txt didn't fix the problem completely, at least for me, as UTF8_STRING continues to appear there again and again (I see it appearing when I'm actively copying between Firefox and Tilix in both directions).

It also looks that the problem has other manifestation: sometimes the entries with mimetype==UTF8_STRING just silently disappear instead of causing the 'stuck extension' problem mentioned in this issue.

ma0shu commented 4 months ago

If someone still experiences the problem on latest master, please give a try to #480 and say if it helps or not. (Probably you need to fully reboot to properly reload extension.)

It looks like just doing replacement in registry.txt didn't fix the problem completely, at least for me, as UTF8_STRING continues to appear there again and again (I see it appearing when I'm actively copying between Firefox and Tilix in both directions).

It also looks that the problem has other manifestation: sometimes the entries with mimetype==UTF8_STRING just silently disappear instead of causing the 'stuck extension' problem mentioned in this issue.

480 Works fine for me, thx