https://bugs.kde.org/show_bug.cgi?id=496365

            Bug ID: 496365
           Summary: activateWindow doesn't work in Qt 5 app running in
                    Plasma 6 Wayland
    Classification: Plasma
           Product: kwayland-integration
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: equ...@gmail.com
  Target Milestone: ---

SUMMARY
KWindowSystem::activateWindow() called from Qt 5 application running in Plasma
6 Wayland environment does nothing.

"QWindow::fromWinId(): platform plugin does not support foreign windows."
warning is seen in stderr.

STEPS TO REPRODUCE
1. Run Qt 5 application using KWindowSystem::activateWindow() function in
Plasma 6
2. Make it so it's called

OBSERVED RESULT
Window is not activated, warning is seen in stderr.

EXPECTED RESULT
Window is activated through xdg-activation protocol

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20241114
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 5.116.0
Qt Version: 5.15.15+kde127

ADDITIONAL INFORMATION
This is probably somehow related to this change:
https://github.com/KDE/kwayland-integration/commit/f2f14df48616f31bee62d3f57d9f08278aa8888d#diff-a1327a30e90efe63958cf1f12637a94e2a7e5fc93996bd96664ba001d8626ea9L66

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to