Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
KDevelop
KDevelop
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 30
    • Merge Requests 30
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • KDevelop
  • KDevelopKDevelop
  • Merge Requests
  • !171

Merged
Opened Oct 03, 2020 by Igor Kushnir@igorkushnirDeveloper

Don't delay Stop and Tool Views action menus

  • Overview 3
  • Commits 1
  • Pipelines 2
  • Changes 2

For many years I thought that KDevelop's Stop toolbar menu was broken. Today after digging into the relevant code and documentation I found out that one has to press and hold the button for a few seconds for the submenu to show up.

From the documentation to KActionMenu::setDelayed(): Remember that if the "main" action (the toolbar button itself) cannot be clicked, then you should call setDelayed(false).

This is clearly the case for the Stop menu button and for the Tool Views menu button (which can be added to the Main Toolbar through Configure Toolbars dialog): clicking these buttons has no effect.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: kdevelop/kdevelop!171
Source branch: no-action-menu-delay