Giter Site home page Giter Site logo

Comments (11)

hluk avatar hluk commented on July 22, 2024

Thanks for the report! Fixed in #2691. The fix will be available in the next release.

from copyq.

asheshstha avatar asheshstha commented on July 22, 2024

I am still having the same issue in v9.0.0 despite release note saying it's fixed. Can you replicate it?

CopyQ Clipboard Manager 9.0.0~mantic
Qt: 5.15.10
KNotifications: 5.110.0
Compiler: GCC
Arch: x86_64-little_endian-lp64
OS: Ubuntu 23.10

from copyq.

hluk avatar hluk commented on July 22, 2024

Can you test it by running copyq menu command?

It seems that the menu opened by clicking on the icon in notification area may not contain the shortcuts - I don't think this can be fixed in the app itself - looks like problem in Qt or notification area integration libraries.

Edit: Sorry, I mistook this for other issue (global shortcuts not shown in the menu).

from copyq.

asheshstha avatar asheshstha commented on July 22, 2024

I have set copyq as global ubuntu keyboard shortcut which calls copyq menu and the problem arises on that. It's working fine on 22.04 x11 but not on 23.10 wayland.

from copyq.

hluk avatar hluk commented on July 22, 2024

It's working fine on 22.04 x11 but not on 23.10 wayland.

I'm running Sway Wayland compositor and copyq menu allows me to trigger the last numbered item using the numbers on the keyboard (even on the numeric keypad).

There is nothing X11 or Wayland related to this feature in the app itself. It could be some problem with Qt framework or other related library.

from copyq.

asheshstha avatar asheshstha commented on July 22, 2024

I think you may be right on this one. I have a very strange bug. copyq works as intended in Chrome (installed as deb) but not on firefox, okular (all installed as deb). Obsidian (deb) is hit and miss

If possible can you give me pointers what could be the issue?

from copyq.

hluk avatar hluk commented on July 22, 2024

I think you may be right on this one. I have a very strange bug. copyq works as intended in Chrome (installed as deb) but not on firefox, okular (all installed as deb). Obsidian (deb) is hit and miss

If possible can you give me pointers what could be the issue?

Not sure, but some apps run almost seamlessly in X11 mode (XWayland) in some desktop environments. I still have to launch chrome-based apps with special parameters to run natively in Wayland (for example: slack --enable-features=UseOzonePlatform --ozone-platform=wayland).

from copyq.

asheshstha avatar asheshstha commented on July 22, 2024

sorry I didn't understand it clearly. I have this issue with Firefox, and Okular (non chromium apps) and I can't see flags --enable-features. Just pointing out that hopefully I am not missing something here.

Just to be on same page:

  • Are you using wayland?
  • can you paste in firefox easily?
  • have you also set copyq as Exec=env QT_QPA_PLATFORM=xcb copyq

from copyq.

hluk avatar hluk commented on July 22, 2024
* Are you using wayland?

Yes.

* can you paste in firefox easily?

Yes, but not by triggering an item from CopyQ - this would require installing Wayland Support command and ydotool. For details, see: Known Issues

* have you also set copyq as `Exec=env QT_QPA_PLATFORM=xcb copyq`

No, I run CopyQ natively in Wayland, otherwise apps are blurry on 4k screens.

from copyq.

asheshstha avatar asheshstha commented on July 22, 2024

Yes, but not by triggering an item from CopyQ - this would require installing Wayland Support command and ydotool.

Sorry it is a bit out of my understanding. I am running ubuntu 24.04 and Wayland. So do I need to enable support for each app - Firefox, Okular (PDF app), and all other apps which doesn't work? I didn't get what the issue is and why it works in some such as chrome.

No, I run CopyQ natively in Wayland, otherwise apps are blurry on 4k screens.

But when I run it without exec, copying something doesn't even add to clipboard. I am getting very confused how you don't have the same problem if you are using wayland.

from copyq.

hluk avatar hluk commented on July 22, 2024

AFAIK, clipboard monitoring for Wayland apps does not work at all in recent versions of Ubuntu, specifically Gnome Wayland sessions, unless you implement it as Gnome Shell extension.

But if you run the app in Xwayland (with QT_QPA_PLATFORM=xcb) it would capture at least clipboard from other Xwayland apps - I think chrome apps still run by default in this mode. Firefox and other native apps should start as normal Wayland clients.

It is possible to verify if Wayland clipboard access works from command line with wl-paste.

from copyq.

Related Issues (20)

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.