Recent

Author Topic: Common File Dialogs Have Been Broken for a Very Long Time (Ex: Ubuntu AARCH64)  (Read 18764 times)

zeljko

  • Hero Member
  • *****
  • Posts: 1686
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Ok, there is a warning about wayland.
https://wiki.freepascal.org/Qt5_Interface#Systems_using_Wayland
Although the warning mentioned another problem (not the window positions).

So wayland and Qt5/Qt6 is a no-go.

https://www.reddit.com/r/linux/comments/16vciex/lets_make_wayland_have_support_for_window/

(And wayland is becoming more and more mainstream so Qt5/Qt6 is no longer  advisable on Linux.)

Well, I've tested qt5 wayland on recent kde plasma (mint 22, mankaro etc), and it works ok (not excellent but works). Don't expect that it works fine with older distros. Qt6 plasma is even better. Personally, I'm using x11, and it will be so for at least next 3-5 years, until wayland matures.

rvk

  • Hero Member
  • *****
  • Posts: 6641
Well, I've tested qt5 wayland on recent kde plasma (mint 22, mankaro etc), and it works ok (not excellent but works).
At least with Fedora KDE Plasma Desktop 41 (latest default install), Qt5 compile will not be able to position Windows. Both Lazarus and your own application have problems positioning the windows correctly.

Even Fedora Workstation 41 (latest default install) with GNOME uses wayland (so also no correct window positions with Qt5).

zeljko

  • Hero Member
  • *****
  • Posts: 1686
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Try plasma 6. In any case it is not about lazarus, but about wayland protocols implementation

msintle

  • Sr. Member
  • ****
  • Posts: 259
Wayland sounds braindead indeed. How come Fedora uses it? I've heard Fedora being called repulsive before.

rvk

  • Hero Member
  • *****
  • Posts: 6641
Fedora, Ubuntu, Red Hat Enterprise, Debian, Slackware and Manjaro all ship wayland as default.
Although Ubuntu shorty switched back to X11 it's back on wayland as of 21.04.

(My own Ubuntu in Hyper-V does seem to have X11 default but maybe that's because of the Remote Desktop part)


https://en.wikipedia.org/wiki/Wayland_(protocol)

msintle

  • Sr. Member
  • ****
  • Posts: 259
Fedora, Ubuntu, Red Hat Enterprise, Debian, Slackware and Manjaro all ship wayland as default.
Although Ubuntu shorty switched back to X11 it's back on wayland as of 21.04.

(My own Ubuntu in Hyper-V does seem to have X11 default but maybe that's because of the Remote Desktop part)


https://en.wikipedia.org/wiki/Wayland_(protocol)

That's twice as interesting then, why does the issue (of dialogs popping up in random locations) only reproduce in my "Intel" Fedora Qt5 tests and not other OS's like "Intel" Manjaro, say?

rvk

  • Hero Member
  • *****
  • Posts: 6641
That's twice as interesting then, why does the issue (of dialogs popping up in random locations) only reproduce in my "Intel" Fedora Qt5 tests and not other OS's like "Intel" Manjaro, say?
Then check if your Menjaro runs wayland.


msintle

  • Sr. Member
  • ****
  • Posts: 259
That's twice as interesting then, why does the issue (of dialogs popping up in random locations) only reproduce in my "Intel" Fedora Qt5 tests and not other OS's like "Intel" Manjaro, say?
Then check if your Menjaro runs wayland.

How exactly?

rvk

  • Hero Member
  • *****
  • Posts: 6641
That's twice as interesting then, why does the issue (of dialogs popping up in random locations) only reproduce in my "Intel" Fedora Qt5 tests and not other OS's like "Intel" Manjaro, say?
Then check if your Menjaro runs wayland.

How exactly?
https://www.cyberciti.biz/faq/howto-check-for-wayland-or-x11-with-my-linux-desktop/

dsiders

  • Hero Member
  • *****
  • Posts: 1324
That's twice as interesting then, why does the issue (of dialogs popping up in random locations) only reproduce in my "Intel" Fedora Qt5 tests and not other OS's like "Intel" Manjaro, say?
Then check if your Menjaro runs wayland.

How exactly?

Code: Bash  [Select][+][-]
  1. echo $XDG_SESSION_TYPE
Preview the next Lazarus documentation release at: https://dsiders.gitlab.io/lazdocsnext

msintle

  • Sr. Member
  • ****
  • Posts: 259
That's twice as interesting then, why does the issue (of dialogs popping up in random locations) only reproduce in my "Intel" Fedora Qt5 tests and not other OS's like "Intel" Manjaro, say?
Then check if your Menjaro runs wayland.

How exactly?

Code: Bash  [Select][+][-]
  1. echo $XDG_SESSION_TYPE

Returns x11. So at least my Manjaro is sane, and I can consider this peta thread resolved?

 

TinyPortal © 2005-2018