Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • K KIO
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 79
    • Merge requests 79
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FrameworksFrameworks
  • KIO
  • Merge requests
  • !619

PasteDialog: fix data pasting in Wayland

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Méven Car requested to merge meven/kio:fix-421974 into master Oct 28, 2021
  • Overview 5
  • Commits 1
  • Pipelines 14
  • Changes 3

In Wayland the clipboard changes anytime the focused window changes, which happens when opening the PasteDialog.

In order to support this case, just check that chosen mimetype is still available after the dialog returns.

CCBUG: 421974

This fixes the case:

  • launch spectacle, take any screenshot
  • click on copy to clipboard
  • in dolphin, right click > paste clipboard content
  • a popup opens, type in a file name (any), click on ok

CCBUG: 421974

Needs qt/qt/qtwayland!18 (merged) qt/qt/qtwayland!21 (merged)

Edited Oct 28, 2021 by Méven Car
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-421974