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

Losing window focus each second on GNOME 43.2 Wayland #16

Open
zluka22 opened this issue Dec 16, 2023 · 4 comments
Open

Losing window focus each second on GNOME 43.2 Wayland #16

zluka22 opened this issue Dec 16, 2023 · 4 comments

Comments

@zluka22
Copy link

zluka22 commented Dec 16, 2023

Screencast.from.2023-12-16.15-06-32.webm

As shown on video, I constantly lose focus on any currently opened window each second for a moment. Getting no error messages after running it in debug mode.

After building it, got single warning:

 ~/Programs/cliptopia  ❯ ./install-from-source.sh
grep is installed
xclip is installed
pgrep is installed
pkexec is installed
whereis is installed
wl-copy is installed
wl-paste is installed
Installed Java Version is greater than 17.0.0
Installed Flutter Version is greater than 3.16.0

/home/user/Programs/cliptopia/linux/my_application.cc:73:5: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations]
Building Linux application...
  >> Copying Bundle to /opt/cliptopia ...
  >> Starting Integration ...
  >> Creating a system link (update-alternatives) ...
  >> Writing Pixmap ...
  >> Writing Desktop Entry
  >> Integration Complete
  >> See setting up the keyboard shortcut for cliptopia (Super + V)

Should it be like that?

@omegaui
Copy link
Owner

omegaui commented Dec 16, 2023

I constantly lose focus on any currently opened
This is an issue related to wl-clipboard, it needs to grab focus to work.
Not related to cliptopia though, but I would try to find a way to prevent this.

The background engine of cliptopia executes wl-paste which in turn grabs the focus to work.

This can be regenerated by running ...

sleep 1 && wl-paste > temp

After building it, got single warning:

That's ignorable, don't worry about it.
The function is actually used to handle cliptopoa's power mode appearance in a multi monitor setup.

@omegaui
Copy link
Owner

omegaui commented Dec 16, 2023

Also, till the fix arrives, can you try force-xclip mode from the settings menu.

This Setting is located in Cliptopia's Normal mode which can be spawned by just running ...

cliptopia

@omegaui
Copy link
Owner

omegaui commented Dec 16, 2023

I have created an issue regarding this in wl-clipboard.
I hope we get the fix as soon as possible.

omegaui added a commit that referenced this issue Dec 18, 2023
Added a Notice about #16.
@omegaui
Copy link
Owner

omegaui commented Dec 18, 2023

An update will arrive soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants