Re: Reattaching Panes in Wayland

2024-01-14 Thread Andreas Hild
On Fri, 12 Jan 2024 at 21:24, Jürgen Spitzmüller  wrote:
> A known bug (or more a shortcoming) of wayland. See
> https://www.lyx.org/trac/ticket/12614
>
> with references to Qt and wayland tickets that are related.

Thank you kindly for shedding light on this!
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Reattaching Panes in Wayland

2024-01-13 Thread Pavel Sanda
On Fri, Jan 12, 2024 at 08:23:20PM +0700, Andreas Hild wrote:
> It's very likely to be an issue with Wayland, possibly related to my distro.

Fortunately, some distributions are now moving from not only defaulting
to wayland, but ditching Xorg altogether :)

P
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Reattaching Panes in Wayland

2024-01-12 Thread Jürgen Spitzmüller
Am Freitag, dem 12.01.2024 um 09:43 +0700 schrieb Andreas Hild:
> Any idea what's going on? Any work around?

A known bug (or more a shortcoming) of wayland. See
https://www.lyx.org/trac/ticket/12614

with references to Qt and wayland tickets that are related.

-- 
Jürgen
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Reattaching Panes in Wayland

2024-01-12 Thread Eckhard Höffner


Am 12.01.24 um 14:31 schrieb Andreas Hild:

I see. Yes, I'm using Qt 5 here on Devuan.

OK let's see how this works with Qt6 , but on this distro it will take
some time. 



The only possibility I know is deleting ~/.config/Lyx/lyx.conf

This does not affect any special lyx settings.


--
Eckhard Höffner
Volkarstr. 64
D-80636 München
Tel.: 089 210 31 888
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Reattaching Panes in Wayland

2024-01-12 Thread Andreas Hild
On Fri, 12 Jan 2024 at 20:23, Andreas Hild  wrote:
>
> On Fri, 12 Jan 2024 at 19:25, Pavel Sanda  wrote:
> >
> > On Fri, Jan 12, 2024 at 11:51:19AM +0100, Eckhard Höffner wrote:
> > > >I can easily detach them from the main UI, but I'm unable to put them
> > > >back in their original place.
> > > >
> > > >I running the following version in Wayland:
> > > >
> > > >LyX Version 2.3.7
> > > >Qt Version (run-time): 5.15.8 on platform wayland
> > > >Qt Version (compile-time): 5.15.7
> > > >
> > > >Any idea what's going on? Any work around?
> > > >
> > > >Many thanks!
> > > >Andy
> > > I have the same problems -- it works sometimes, but i do not know, why it
> > > works and why not.
> >
> > Detaching/Attaching panes in Qt is pain, does not matter if you are at 
> > wayland or on Xorg.
> > I tried to file bugs about this in Qt project, but they don't seem to care.
>
> It's very likely to be an issue with Wayland, possibly related to my distro.
>
> I'm on Devuan 5 and just logged out from Wayland (KDE) into Xorg
> (Xfce) and found that (de)activating two of the three panes was not
> possible anymore. See the screenshots attached.
>
> Both screenshots were taken from inside Xfce. Creating the difference
> i.e. un/ticked was done by logging back into KDE.
>
> After I deleted .lyx in Xfce everything went back to normal and
> attaching panes worked as it was intended. I have used LyX for 20+
> years plus and have never ever had any issues with the panes until I
> moved to Wayland.
>
> So the current workaround, seems to be not to detach panes.
>
> I'm also copying the console output onWayland below (again, sorry I
> had inadervatingly replied directly to people rather than to the
> list).
>
> Many thanks!
> Andy
>
>
> qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
> This plugin supports grabbing the mouse only for popup windows

Links to screenshots:

https://postimg.cc/YvFnbVj6
https://postimg.cc/xJNczK61

Didn't know that non-text attachments are scrubbed.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Reattaching Panes in Wayland

2024-01-12 Thread Andreas Hild
On Fri, 12 Jan 2024 at 20:21, Pavel Sanda  wrote:
>
> On Fri, Jan 12, 2024 at 07:38:06PM +0700, Andreas Hild wrote:
> > On Fri, 12 Jan 2024 at 19:25, Pavel Sanda  wrote:
> > > Detaching/Attaching panes in Qt is pain, does not matter if you are at 
> > > wayland or on Xorg.
> > > I tried to file bugs about this in Qt project, but they don't seem to 
> > > care.
> >
> > I'm surprised to hear this, Pavel.
> >
> > Never had any difficulties with this for decades. It used to work like
> > a charme, until I started using Wayland.
>
> Maybe this is different bug though. For me the dock widgets are freezing
> anytime I try to move them from the docked position.
> I reported this in 2018 and I just reviewed the report. So I must correct
> myself now, there is claim that they fixed that in 2022 for Qt 6.3, but
> without backport to Qt 5. Will see in the future :)

I see. Yes, I'm using Qt 5 here on Devuan.

OK let's see how this works with Qt6 , but on this distro it will take
some time. :-)
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Reattaching Panes in Wayland

2024-01-12 Thread Pavel Sanda
On Fri, Jan 12, 2024 at 07:38:06PM +0700, Andreas Hild wrote:
> On Fri, 12 Jan 2024 at 19:25, Pavel Sanda  wrote:
> > Detaching/Attaching panes in Qt is pain, does not matter if you are at 
> > wayland or on Xorg.
> > I tried to file bugs about this in Qt project, but they don't seem to care.
> 
> I'm surprised to hear this, Pavel.
> 
> Never had any difficulties with this for decades. It used to work like
> a charme, until I started using Wayland.

Maybe this is different bug though. For me the dock widgets are freezing
anytime I try to move them from the docked position.
I reported this in 2018 and I just reviewed the report. So I must correct
myself now, there is claim that they fixed that in 2022 for Qt 6.3, but
without backport to Qt 5. Will see in the future :)

Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Reattaching Panes in Wayland

2024-01-12 Thread Pavel Sanda
On Fri, Jan 12, 2024 at 11:51:19AM +0100, Eckhard Höffner wrote:
> >I can easily detach them from the main UI, but I'm unable to put them
> >back in their original place.
> >
> >I running the following version in Wayland:
> >
> >LyX Version 2.3.7
> >Qt Version (run-time): 5.15.8 on platform wayland
> >Qt Version (compile-time): 5.15.7
> >
> >Any idea what's going on? Any work around?
> >
> >Many thanks!
> >Andy
> I have the same problems -- it works sometimes, but i do not know, why it
> works and why not.

Detaching/Attaching panes in Qt is pain, does not matter if you are at wayland 
or on Xorg.
I tried to file bugs about this in Qt project, but they don't seem to care.

Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Reattaching Panes in Wayland

2024-01-12 Thread Eckhard Höffner

Am 12.01.24 um 03:43 schrieb Andreas Hild:

Hello,

I'm struggling to reattach panes, such as Outline, Code Preview, Messages.

I can easily detach them from the main UI, but I'm unable to put them
back in their original place.

I running the following version in Wayland:

LyX Version 2.3.7
Qt Version (run-time): 5.15.8 on platform wayland
Qt Version (compile-time): 5.15.7

Any idea what's going on? Any work around?

Many thanks!
Andy
I have the same problems -- it works sometimes, but i do not know, why 
it works and why not.

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users