FineFindus / eyedropper

Pick and format colors
https://apps.gnome.org/Eyedropper
GNU General Public License v3.0
267 stars 28 forks source link

"Failed to pick a color" #16

Closed CSpencerND closed 2 years ago

CSpencerND commented 2 years ago

When clicking on the eyedropper or pressing ctrl + p: "Failed to pick a color" appears at the bottom of the window.

In the terminal: ERROR eyedropper::window > Portal request didn't succeed: Other

This happens with flatpak and if built with gnome builder.

Only happens on window managers. Works fine on gnome.

FineFindus commented 2 years ago

I guess that it is related to the usage of a window manager, since it works fine on Gnome. Did you test it on the same system with Gnome/the wms?

CSpencerND commented 2 years ago

Did you test it on the same system with Gnome/the wms? Yes.

FineFindus commented 2 years ago

Ok, I've looked into this (using DWM), it seems like this is an issue with the portals API. This is also an issue with similar color pickers, such as gcolor3.

As a workaround, I would recommend using another color picker (for example hyprpicker) and just editing the hex format of the color.

FineFindus commented 2 years ago

So, I did a bit more research and came to the conclusion, that an unimplemented portal API should not be tracked here. I think the appropriate place for this issue would be more in the direction of the portal GitHub page.

Also, it seems like the latest commit implemented the needed screenshot portal, but they did have a new release since, so a new issue might not be necessary.

I'm closing this for now, if the picker still not works with the screenshot portal, or you disagree with my decision, feel free to reopen this issue.