Re: Plans for gtk glass backend

2022-11-14 Thread Nir Lisker
Is https://bugs.openjdk.org/browse/JDK-8275033 related?

On Tue, Nov 15, 2022 at 2:14 AM Thiago Milczarek Sayão <
thiago.sa...@gmail.com> wrote:

> I took a look at it, and It seems "by design".
> Child stages can be larger, it just can't cover the desktop bar.
> If you run in a kiosk style setup you can probably hide the bar.
>
> It makes sense to me from a security perspective.
>
> -- Thiago.
>
> Em seg., 14 de nov. de 2022 às 11:25, John Hendrikx <
> john.hendr...@gmail.com> escreveu:
>
>> I have an issue related to child stages not being allowed to be as large
>> as their parent stage under Linux.  It's somewhere fairly deep in the
>> system, and I was wondering if that would be near these things you are
>> planning to do.  I wouldn't know myself how to fix it, but can help
>> where I can:
>>
>> https://bugs.openjdk.org/browse/JDK-8248435
>>
>> If not, that's fine :)
>>
>> --John
>>
>> On 14/11/2022 13:54, Thiago Milczarek Sayão wrote:
>> > Hi,
>> >
>> > I have some plans to work on gtk glass backend, not necessarily in
>> > this order:
>> >
>> > 1) Unify WindowContextBase and WindowContextTop - those were separated
>> > for applet support that were removed
>> > 2) Remove gtk2 Support
>> > 3) Add gesture support
>> > 4) Rework AlwaysOnTop, exploring _NET_WM_STATE_ABOVE
>> > 5) Fix DND: JDK-8273379, JDK-8280383
>> >
>> > Some depend on [1].
>> >
>> > I don't promise I will finish all of them, but it's the intention.
>> >
>> > Comments are welcome.
>> >
>> > [1] https://github.com/openjdk/jfx/pull/915 - 8260528: Clean glass-gtk
>> > sizing and positioning code
>> >
>> > -- Thiago.
>>
>


Re: Plans for gtk glass backend

2022-11-14 Thread Thiago Milczarek Sayão
I took a look at it, and It seems "by design".
Child stages can be larger, it just can't cover the desktop bar.
If you run in a kiosk style setup you can probably hide the bar.

It makes sense to me from a security perspective.

-- Thiago.

Em seg., 14 de nov. de 2022 às 11:25, John Hendrikx 
escreveu:

> I have an issue related to child stages not being allowed to be as large
> as their parent stage under Linux.  It's somewhere fairly deep in the
> system, and I was wondering if that would be near these things you are
> planning to do.  I wouldn't know myself how to fix it, but can help
> where I can:
>
> https://bugs.openjdk.org/browse/JDK-8248435
>
> If not, that's fine :)
>
> --John
>
> On 14/11/2022 13:54, Thiago Milczarek Sayão wrote:
> > Hi,
> >
> > I have some plans to work on gtk glass backend, not necessarily in
> > this order:
> >
> > 1) Unify WindowContextBase and WindowContextTop - those were separated
> > for applet support that were removed
> > 2) Remove gtk2 Support
> > 3) Add gesture support
> > 4) Rework AlwaysOnTop, exploring _NET_WM_STATE_ABOVE
> > 5) Fix DND: JDK-8273379, JDK-8280383
> >
> > Some depend on [1].
> >
> > I don't promise I will finish all of them, but it's the intention.
> >
> > Comments are welcome.
> >
> > [1] https://github.com/openjdk/jfx/pull/915 - 8260528: Clean glass-gtk
> > sizing and positioning code
> >
> > -- Thiago.
>


Re: Plans for gtk glass backend

2022-11-14 Thread John Hendrikx
I have an issue related to child stages not being allowed to be as large 
as their parent stage under Linux.  It's somewhere fairly deep in the 
system, and I was wondering if that would be near these things you are 
planning to do.  I wouldn't know myself how to fix it, but can help 
where I can:


https://bugs.openjdk.org/browse/JDK-8248435

If not, that's fine :)

--John

On 14/11/2022 13:54, Thiago Milczarek Sayão wrote:

Hi,

I have some plans to work on gtk glass backend, not necessarily in 
this order:


1) Unify WindowContextBase and WindowContextTop - those were separated 
for applet support that were removed

2) Remove gtk2 Support
3) Add gesture support
4) Rework AlwaysOnTop, exploring _NET_WM_STATE_ABOVE
5) Fix DND: JDK-8273379, JDK-8280383

Some depend on [1].

I don't promise I will finish all of them, but it's the intention.

Comments are welcome.

[1] https://github.com/openjdk/jfx/pull/915 - 8260528: Clean glass-gtk 
sizing and positioning code


-- Thiago.