-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
[Linux] colorpicker is not working on wayland. #106
Comments
Hey @darkRaspberry thank you for reporting this issue! How did you download Colorpicker? from snapstore, .deb file, other..? |
From your website I redirect here https://github.com/Toinane/colorpicker/releases/tag/2.0.3 Also I expected this when i was installing. Any app which works on something which require reading from screen like screen recorder or screenshot doesn't support wayland directly. Xorg and wayland is not compatible. |
Okay I see! I'm sorry for that. I'm a newbie on Linux so I don't know everything about it. I'll try to add wayland compatibility for the next update 👍 |
See the fact that you are using electron 9.x.x May be is the cause FurtherYou can make these options your default for all Electron apps by adding the following into your ~/.config/electron-flags.conf.
In dead simple words wayland handles frontend of the linux distro. And IF you app doesn't support wayland or build on wayland. They they can't read from it. But still display on the screen very undesirably. Default site- https://wayland.freedesktop.org/ There are newer version of electron also which support much well but. It up to youSome useless discussion about wayland. |
Oh okay thank you for the update! I really appreciate 👍 I'll update Colorpicker for Electron 16 and test the flag on it. I'm sorry for the seriously delay I have on this. |
@Toinane No need to say sorry. Instead I'm grateful that you made this cool awesome app. |
@Toinane Please update the snap |
Hey @niphoneua sorry, I'm actually working to rewrite all the app and it's take time, so when it's done, I'll update it. I don't know for the moment if the picker will work on Wayland, but I'll do my best to do it 👍 |
Thanks |
Waiting for the update. Ubuntu 22.04 is out and the App is not working on it maybe because of the Wayland issue |
Hey there! Thanks for your waiting! I'm really sorry for the issue I've released a new version with the latest Electron version. It sould work now again on Wayland, I've tried on Ubuntu 22.04 and looks fine. The only issue is the picker feature will not work on Wayland. I can't find a deps for picking color on screen compatible with wayland and nodejs and the only one I use is not maintained for now. When I can, I'll switch from Electron to Tauri and use Rust deps to make this work again and to be more stable/efficient! |
Also, I'll not update the snap version as it's really hard to maintain it actually. I recommend to use the .deb / .AppImage for the moment |
If you are in Wayland interface, it's normal yeah, It only work on x11 :/ |
Before logging in, If you can change the session from Adding |
Yeah It's the best way for the moment 👍 If you don't need picker, you can keep wayland. Really sorry for this, I'm not a pro on C++ module, I hope it will be better with Rust! I'm currently trying Tauri to make the next update |
Dude, take a look at the color picker I wrote and give me some advice |
Got it, I've started to rewrite c++ module to fix some issues like this one, I need to take time to continue on this rewrite |
Hello. I thought you already fixed this because it works fine now. :) |
Describe the bug
Not working in wayland.
Sorry for deleting the template.
Now many distributions are moving from
xorg
towayland
. And Ubuntu (my current machine) is also moved towayland
by default. So its the ill effect ofwayland
and now colorpicker is not working. Like completely not working.Its just showing white color nothing else.
I confined its working on
xorg
and i'm using version 2.0.3The text was updated successfully, but these errors were encountered: