Open madjesc opened 3 years ago
Thanks for the report. I'm not currently using Wayland so I can't test this issue. If you have the means and time, it would be great if you could create PR for it, making sure that the fix keeps the color picker working under X11.
wayland do not have access to other windows (security first) so yes, using portals is the solution.
A wayland color picker can demonstrate how to do it correctly: https://github.com/emersion/grim
@Mkefs any luck in figuring this out? Otherwise I can give it a try
@Mkefs any luck in figuring this out? Otherwise I can give it a try
Mmm, I'm having some troubles with it, and also I have homework, so I don't have so much time. But I still working in it
Under wayland, the best shot I can think of using the portals. We can use libportal https://github.com/flatpak/libportal for that, it doesn't provide a vapi file, but we can easily write a wrapper for the pick_color method
See here for an example on how to do so: https://gitlab.gnome.org/bertob/nostalgia/-/blob/master/src/libportal.vapi#L3-26
From color-selection I guess it should be xdp_portal_pick_color
It seems like this issue was fixed in https://github.com/akiraux/Akira/pull/619 Is there still something here to be worked on here?
Expected Behavior
When clicking in the global color picker, it should zoom in and let me choose a color. Like #432 gif
Current Behavior
The color picker circle does nothing and the cursor gets stuck Log:
Possible Solution
Steps to Reproduce (for bugs)
Context
I was trying the app features and this happened
Your Environment (for bugs)