| Summary: | activateWindow doesn't work in Qt 5 app running in Plasma 6 Wayland | ||
|---|---|---|---|
| Product: | [Plasma] plasma-integration | Reporter: | equeim |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | aleixpol, nate, nicolas.fella |
| Priority: | NOR | ||
| Version First Reported In: | 6.2.3 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kwayland-integration/-/commit/1432f93ed23dd73f7f9a9606da4bb5cf531a8ed9 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
equeim
2024-11-17 00:45:43 UTC
I'm afraid KF5 is no longer developed, so there's not much hope of this being fixed for KF5-using apps. (In reply to Nate Graham from comment #1) > I'm afraid KF5 is no longer developed, so there's not much hope of this > being fixed for KF5-using apps. But the Wayland plugin for KF5WindowSystem is actually part of Plasma 6, no? If the issue on that side of it, yes. If it requires changes on the other side, then no. CCing some some people more intelligent than me who can probably help make that determination. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwayland-integration/-/merge_requests/66 Git commit d7d9c1bb4b3a1c5d65137334cb4e6472211c2a16 by Nicolas Fella. Committed on 25/11/2024 at 14:00. Pushed by nicolasfella into branch 'master'. Fix obtaining wl_surface from WId f2f14df48616f31bee62d3f57d9f08278aa8888d ported from KWayland::Surface::fromQtWinId to QWindow::fromWinId, but QWindow::fromWinId doesn't work on Wayland. Instead copy the implementation from KWayland and use that M +25 -1 src/windowsystem/windowsystem.cpp https://invent.kde.org/plasma/kwayland-integration/-/commit/d7d9c1bb4b3a1c5d65137334cb4e6472211c2a16 Git commit 0bd61486dec73c515708e944c99d1f6b4cb77164 by Nicolas Fella. Committed on 25/11/2024 at 14:00. Pushed by nicolasfella into branch 'master'. Initialize xdg activation Otherwise it only works the second time we try to use it M +1 -0 src/windowsystem/waylandxdgactivationv1.cpp https://invent.kde.org/plasma/kwayland-integration/-/commit/0bd61486dec73c515708e944c99d1f6b4cb77164 Git commit 5a47aa1159d31c1998d3a2addde2266226a2cb23 by Nicolas Fella. Committed on 25/11/2024 at 14:20. Pushed by nicolasfella into branch 'Plasma/6.2'. Initialize xdg activation Otherwise it only works the second time we try to use it (cherry picked from commit 0bd61486dec73c515708e944c99d1f6b4cb77164) M +1 -0 src/windowsystem/waylandxdgactivationv1.cpp https://invent.kde.org/plasma/kwayland-integration/-/commit/5a47aa1159d31c1998d3a2addde2266226a2cb23 Git commit 1432f93ed23dd73f7f9a9606da4bb5cf531a8ed9 by Nicolas Fella. Committed on 25/11/2024 at 14:20. Pushed by nicolasfella into branch 'Plasma/6.2'. Fix obtaining wl_surface from WId f2f14df48616f31bee62d3f57d9f08278aa8888d ported from KWayland::Surface::fromQtWinId to QWindow::fromWinId, but QWindow::fromWinId doesn't work on Wayland. Instead copy the implementation from KWayland and use that (cherry picked from commit d7d9c1bb4b3a1c5d65137334cb4e6472211c2a16) M +25 -1 src/windowsystem/windowsystem.cpp https://invent.kde.org/plasma/kwayland-integration/-/commit/1432f93ed23dd73f7f9a9606da4bb5cf531a8ed9 |