Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Q qtwayland
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • Qt Project
  • qt
  • qtwayland
  • Merge requests
  • !21

Client: do not empty clipboard when a new popup/window is opened

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Méven Car requested to merge meven/qtwayland:backport into kde/5.15 Oct 25, 2021
  • Overview 1
  • Commits 1
  • Changes 2

QPlatformSurface relates to the platform window, not the wl_surface. The events are already emitted by QPlatformWindow on create/destroy.

To preserve compatibility for a previous KDE version it was faked to emit the events when the wl_surface is created/hidden to keep behavior. This is no longer necessary, and it has caused multiple errors, the latest being a crash when switching between sub-menus with the Sway compositor.

[ChangeLog][QPA plugin] QWaylandWindow no longer sends fake SurfaceCreated/Destroyed events. Use expose events to be notified when a Wayland surface appears.

Task-number: QTBUG-76324 Fixes: QTBUG-81952 Change-Id: I2f003bc9da85f032a0053677fd281152099fc9eb Reviewed-by: Paul Olav Tvete paul.tvete@qt.io Reviewed-by: Tor Arne Vestbø tor.arne.vestbo@qt.io Reviewed-by: David Edmundson davidedmundson@kde.org (cherry picked from commit cd21404f) Reviewed-by: Volker Hilsheimer volker.hilsheimer@qt.io

Needs !18 (merged)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: backport