Toinane / colorpicker

A mininal but complete colorpicker desktop app
https://colorpicker.fr
GNU General Public License v3.0
1.6k stars 120 forks source link

Color Pick not working on snap #72

Closed EndrII closed 4 years ago

EndrII commented 4 years ago

ubuntu 19.10 stable chanel of snap store

image

image

Toinane commented 4 years ago

Hey thanks for the reporting! Yeah I know I don't really understand why it's not working, my building file include the needed library. For the moment in classic confinement, it's work but it's not the best solution. I'll test others possibilities to workaround this.. Sorry for the inconvenient!

EndrII commented 4 years ago

where is your snapcraft.yaml?

Toinane commented 4 years ago

Sorry for the late response, you can find the file here: #73

Toinane commented 4 years ago

before using the snapcraft yaml, I've used electron-builder to build snap file but I suppose electron-builder doesn't want to build my dependency

Xenoglyphic commented 4 years ago

On Ubuntu 18.04 the snap has a ton of issues. I installed the deb file which, for some reason, works well, so far I haven't found any severe issues to report.

Toinane commented 4 years ago

Yeah.. I don't really know why.. maybe Electron-builder isn't the best option to build for snapcraft

Toinane commented 4 years ago

Okay! I've resolved the problem! I've publised a new beta release on the snapcraft store here: https://snapcraft.io/colorpicker-app Can you confirm it's now work for you @EndrII @Xenoglyphic ? After that I publish it on stable channel!

Toinane commented 4 years ago

It's work for me on Ubuntu 19.10 with gnome

Xenoglyphic commented 4 years ago

It works for me! I forgot to ask this earlier, but, why is it's movement so laggy? the deb package has the same issue.

Toinane commented 4 years ago

great! I don't really know why, I don't have this issue with my Linux. But I suppose it's because I use a native package which is not very well supported by Electron and Linux. At the moment it's my only way to get the picker to work on Linux. I will rewrite all the code of the application soon with the goal to make the application as performant as possible. I hope that it will be better at this time!

Xenoglyphic commented 4 years ago

Cool, I have an idea why. I just rebooted my computer, which sadly didn't fix the opacity setting, and the picker worked a ton better than before, but after I launched all my programs and browsers that I usually have open the picker started stuttering again. have you made the picker able to use multiple cores from the cpu, or does it draw on another resource?

Toinane commented 4 years ago

Hmm okay, I'm not surprised about the opacity, it's very unstable. For the picker, it may be related to that indeed, I'll have to investigate on the subject. I also noticed that it was also slower when you're on a 2nd screen.

Toinane commented 4 years ago

I've opened a new issue about the picker, we should now use this issue #74 😃 The picker now work on snap so I'll close it!

Xenoglyphic commented 4 years ago

sweet!