ColourPicker icon indicating copy to clipboard operation
ColourPicker copied to clipboard

Possible problem with snap in 22.04

Open stuartlangridge opened this issue 3 years ago • 6 comments

Hi Stuart. Pick worked very well for me previously, it's a wonderful tool, I love it. Thanks a lot for creating and keeping it alive!

Unfortunately since I updated to Ubuntu 22.04 it crashes similarly as soon as I click on the pick color button. The gui breaks and won't change the cursor to the picker magnifying glass. I can't get it back from being minimized, only if I click on the top bar, and select pick color from there. No matter where I click after that, the result is always rgb(0,0,0). I installed it from the snap store.

Here's a video about the behavior.

Also the output of my journalctl | grep "pick" pick_error.log

Originally posted by @dns-rs in https://github.com/stuartlangridge/ColourPicker/issues/59#issuecomment-1129677473

stuartlangridge avatar May 18 '22 07:05 stuartlangridge

@dns-rs the video you present is unfortunately marked as private, so I can't see it.

Thank you for the logs -- I'm not using 22.04 yet, but I'll check into this and see if there's anything I can work out!

stuartlangridge avatar May 18 '22 07:05 stuartlangridge

@stuartlangridge Sorry, the video is now set to public. Hope this helps.

dns-rs avatar May 18 '22 07:05 dns-rs

To confirm: this worked before on 20.04?

I am worried that this is the graphics driver issue #59 (and you were correct to file it there!) which I've never been able to replicate (because I have different graphics card hardware) and which is why it's still open. The update to 22.04 would probably have come with new graphics drivers too, which is why that might be a confounding factor.

stuartlangridge avatar May 18 '22 08:05 stuartlangridge

@stuartlangridge Yes, it worked perfectly on 20.04. I have used it for about a year. I got a basic "Intel Corporation HD Graphics 620 (rev 02)" card in it, so I wouldn't be surprised if some new drivers that come with 22.04 would cause the issue. Thanks for checking anyways I hope someday there will be a solution, if nothing else, a hardware upgrade on my side.

dns-rs avatar May 18 '22 08:05 dns-rs

FWIW, I tried this for the first time, on a fairly clean install of Ubuntu 22.04.1 LTS with few tweaks. NVIDIA & X Server session (default for NVIDIA GPU).

After doing sudo snap install ...

Tried launching , nothing happens.

So I tried in the CLI and it shows this:

(pick-colour-picker:14498): Gtk-WARNING **: 12:10:09.007: cannot open display: :0

fabd avatar Aug 30 '22 10:08 fabd

Facing a similar issue on Ubuntu 22.04. It just crashes as I try to pick a colour. log.txt

shubhambattoo avatar Mar 30 '23 04:03 shubhambattoo