Re: Anyone running LyX on Wayland?

2023-03-13 Thread Scott Kostyshak
On Mon, Mar 13, 2023 at 09:49:32AM +0100, Jean-Pierre Chrétien wrote:
> Le 13/03/2023 à 09:45, Jean-Pierre Chrétien a écrit :
> > Le 13/03/2023 à 09:38, Jean-Pierre Chrétien a écrit :
> 
> > 
> > In addition I get this:
> > 
> > Warning: Failed to produce 1 preview snippet(s)
> > 
> 
> Not in addition, I get this one whatever the value of QT_QPA_PLATFORM.

Good to know. I wonder why I don't get the warning about needing to set
QT_QPA_PLATFORM=wayland. Note that I'm testing on Ubuntu 23.04 daily.

Scott


signature.asc
Description: PGP signature
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Anyone running LyX on Wayland?

2023-03-13 Thread Jean-Pierre Chrétien

Le 13/03/2023 à 09:45, Jean-Pierre Chrétien a écrit :

Le 13/03/2023 à 09:38, Jean-Pierre Chrétien a écrit :




In addition I get this:

Warning: Failed to produce 1 preview snippet(s)



Not in addition, I get this one whatever the value of QT_QPA_PLATFORM.

--
Jean-Pierre

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


Re: Anyone running LyX on Wayland?

2023-03-13 Thread Jean-Pierre Chrétien

Le 13/03/2023 à 09:38, Jean-Pierre Chrétien a écrit :

Le 13/03/2023 à 02:25, Scott Kostyshak a écrit :

I get the following messages in the terminal:

   QSocketNotifier: Can only be used with threads started with QThread
   qt.qpa.wayland: Wayland does not support QWindow::requestActivate()




I never get the last message that you mention.



In fact, I get your last message if I load the UserGuide (and I get it several 
times):


qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

In addition I get this:

Warning: Failed to produce 1 preview snippet(s)

--
Jean-Pierre


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


Re: Anyone running LyX on Wayland?

2023-03-13 Thread Jean-Pierre Chrétien

Le 13/03/2023 à 02:25, Scott Kostyshak a écrit :

I get the following messages in the terminal:

   QSocketNotifier: Can only be used with threads started with QThread
   qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

Does anyone else get these with Wayland?


No,; but I used to regularly get this:

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland 
to run on Wayland anyway.


If I comply to the request, I get this:

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland 
to run on Wayland anyway.

QSocketNotifier: Can only be used with threads started with QThread

I must run
 XDG_SESSION_TYPE= QT_QPA_PLATFORM=wayland lyx-2.4.0dev

to get rid of the first message.

I never get the last message that you mention.

Debian bullseye, QT 5.15.2

Should I try to compile with QT6 ?

--
Jean-Pierre

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


Re: Anyone running LyX on Wayland?

2023-03-12 Thread Jürgen Spitzmüller
Am Sonntag, dem 12.03.2023 um 21:25 -0400 schrieb Scott Kostyshak:
> I get the following messages in the terminal:
> 
>   QSocketNotifier: Can only be used with threads started with QThread
>   qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
> 
> Does anyone else get these with Wayland?

Only the former and only if I run LyX with QT_QPA_PLATFORM=wayland
(which is omitted by default on GNOME).

-- 
Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Anyone running LyX on Wayland?

2023-03-12 Thread Scott Kostyshak
On Sun, Mar 12, 2023 at 09:25:44PM -0400, Scott Kostyshak wrote:
> I get the following messages in the terminal:
> 
>   QSocketNotifier: Can only be used with threads started with QThread
>   qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
> 
> Does anyone else get these with Wayland?

Actually, when compiling with Qt6 I don't see the above messages. I probably 
won't use Qt5 on Wayland anyway.

Scott


signature.asc
Description: PGP signature
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Anyone running LyX on Wayland?

2023-03-12 Thread Scott Kostyshak
I get the following messages in the terminal:

  QSocketNotifier: Can only be used with threads started with QThread
  qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

Does anyone else get these with Wayland?

Scott


signature.asc
Description: PGP signature
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel