[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 Sun, 3 Mar 2024 at 03:17, Bruce Steers <bsteers4@xxxxxxxxx> wrote:

>
>
> On Sat, 2 Mar 2024 at 20:06, Bruce Steers <bsteers4@xxxxxxxxx> wrote:
>
>>
>>
<snip>



> I'll have a play and see if maybe there is a way.
>>
>
> Well i think it's not possible with wayland but then again it is not
> actually needed with wayland or if using the desktop portal PickColor
> method.
> The portal PickColor method shows a magnifying glass with the cursor that
> shows the color as you move.
> So currently it only does not show the color if using x11.
>
> I just submitted a merge that uses the old Grab and
> Desktop.Screenshot(Mouse.ScreenX, Mouse.ScreenY, 1, 1).Image[0, 0] method
> of showing the color in the panColor area as you move but only if you are
> using x11 as currently you have it set to use portal if wayland but not if
> x11.
>
>
> So until you make x11 use portal too then this is a fix :)
> I've tested it using x and wayland and all is good :)
>


dang no it's not!!
 it almost works perfectly but if i press escape to cancel in the IDE color
chooser it still sets a color  :(
BruceS