Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libQt5Pas.so.1: cannot open shared object file: No such file or directory #579

Open
chwt163 opened this issue May 17, 2024 · 6 comments
Open
Labels

Comments

@chwt163
Copy link

chwt163 commented May 17, 2024

error while loading shared libraries: libQt5Pas.so.1: cannot open shared object file: No such file or directory

manjaro
kde plasma6

@circular17
Copy link
Collaborator

Hello @chwt163

Thanks for letting me know about this bug. I presume it means that this dependency is not indicated in the package.

A workaround may be to install the relevant package. On Manjaro, the command is probably something like:

sudo pacman -S libqt5pas

If you install this package, does it solve the problem?

Regards

@chwt163
Copy link
Author

chwt163 commented May 29, 2024

@circular17 Thank you! After executing "sudo pacman -S qt5pas", I can successfully run lazpaint, but there are a few phenomena:

  1. Every time the program starts, there is a pop-up window.
  2. When you expand the menu multiple times, the menu will appear in the center of the program instead of following the menu bar

屏幕截图_20240529_140555
屏幕截图_20240529_140644

This is the full konsol output:

./lazpaint
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()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: setGrabPopup called with a parent, QtWaylandClient::QWaylandXdgSurface(0x1ce60b00) which does not match the current topmost grabbing popup, QtWaylandClient::QWaylandXdgSurface(0x1d0fbb80) According to the xdg-shell protocol, this is not allowed. The wayland QPA plugin is currently handling it by setting the parent to the topmost grabbing popup. Note, however, that this may cause positioning errors and popups closing unxpectedly because xdg-shell mandate that child popups close before parents
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

@circular17
Copy link
Collaborator

@chwt163 Good to know this was the package install you needed.

The bug on startup you're encountering may have been fixed in development but not in the lazpaint package of your system. To check that, I invite you to try the following binaries: https://github.com/bgrabitmap/lazpaint/releases/download/v7.2.2/lazpaint7.2.2_linux64_qt5_bugfix.tar.gz

About the menu showing up on the center on the screen, I am not sure but it may be related to updates to Linux system. In the log, the error about requestActivate is indeed related to that, Wayland being the newer version of the windowing system. I will investigate.

@chwt163
Copy link
Author

chwt163 commented May 30, 2024

Use bugfix.tar.gz packages, The pop-up window is gone.
But there is still a bug in the menu, reproduce: open LazPaint's help-about, then close the about window, at this time click on other programs, go back to Lazpaint, and the menu will appear in the center.

@circular17
Copy link
Collaborator

Thank you for testing the bugfix version. This confirms that the startup dialog issue is resolved but hasn't been released yet. However, the bug with the menu appearing in the center of the window still persists. Thanks again for your valuable feedback.

@circular17
Copy link
Collaborator

Related to #515

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants