Recent

Author Topic: fsStayOnTop behavior under wayland seems incorrect  (Read 288 times)

TheMouseAUS

  • New Member
  • *
  • Posts: 42
fsStayOnTop behavior under wayland seems incorrect
« on: September 18, 2023, 07:09:45 am »
I have an app which pops up a form which is set to fsStayOnTop. If i use 'form.showmodal' then it will stay on top but 'form.show' does not it can disappear behind the main form. I have also found this behaviour using ShowMessage() and MessageBox they will end up behind the form and as its waiting for input will make it seem like the app has frozen. I tried this under X11 and works as expected.

Fedora 38, Qt 5.15.10, Lazarus 2.2.6 FPC 3.2.2
x86_64-linux-qt5

zeljko

  • Hero Member
  • *****
  • Posts: 1510
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: fsStayOnTop behavior under wayland seems incorrect
« Reply #1 on: September 18, 2023, 08:07:44 am »
It is about wayland implementation inside qt, not about lazarus. Try with rexent qt6 version, that one have better support for wayland.

TheMouseAUS

  • New Member
  • *
  • Posts: 42
Re: fsStayOnTop behavior under wayland seems incorrect
« Reply #2 on: September 18, 2023, 09:12:08 am »
Ok way just checking in case it wasnt a known issue. I will wait for lazraus v3. At this stage wayland is not necessary anyway

zeljko

  • Hero Member
  • *****
  • Posts: 1510
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: fsStayOnTop behavior under wayland seems incorrect
« Reply #3 on: September 18, 2023, 09:23:46 am »
In case of how lcl is functioning wayland is still PITA.

 

TinyPortal © 2005-2018