Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Plasma Desktop Plasma Desktop
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 28
    • Issues 28
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 41
    • Merge requests 41
  • 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
  • PlasmaPlasma
  • Plasma DesktopPlasma Desktop
  • Merge requests
  • !451

Hide tooltip window immediately before opening context menu

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged David Redondo requested to merge work/davidre/tmtooltipcontext into master May 05, 2021
  • Overview 7
  • Commits 1
  • Pipelines 0
  • Changes 1

Tooltip internally uses TooltipDialog (a QWindow subclass) which runs a timer before it hides itself. This is done so it can be reused and to prevent flickering when switching between Tooltips quickly. However here it causes an issue, when closing a popup on Wayland, Qt closes all popups that were opened after it. This means when openening a ContextMenu while a Tooltip is shown, the TooltipDialog will hide itself after the window of the context menu has been created and close it in the process. As a workaround we can hide the window manually before creating the context menu. BUG: 417939 FIXED-IN:5.22

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/davidre/tmtooltipcontext