[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gambas-user] A commit to make color picker show color under the mouse again


On Fri, 1 Mar 2024 at 14:21, Benoît Minisini <
benoit.minisini@xxxxxxxxxxxxxxxx> wrote:

> Le 01/03/2024 à 13:45, Bruce Steers a écrit :
> >
> > Somebody mentioned that color picker no longer displays the color under
> > the cursor when moving the mouse around now.
> >
> > So is this any good to ya Ben?  i'll merge request if yes.
> >
> >
> https://gitlab.com/bsteers4/gambas/-/commit/d3cc23da0aca4ab4d1471abaad96269688e6c354
> <
> https://gitlab.com/bsteers4/gambas/-/commit/d3cc23da0aca4ab4d1471abaad96269688e6c354
> >
> >
> > it just makes gb.form color picker show the color when using color
> > picker again.
> >
> > Or did you remove that feature for a good reason?  (or a horrible
> > reason, like wayland)
>
> That's wayland. All Gambas code specific to X11 will slowly disappear...
>
> Now the color picker is based on the desktop portal by default.
>
> --
> Benoît Minisini.
>

Yes I understand portal is now being used, but using the portals
Screenshot.PickColor() directly breaks the color view when picking in
ColorChooser

I'm just using the portals Screenshot.Screenshot() method instead of
Screenshot.PickColor() so it is still good for wayland yes?

Respects
BruceS