Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 2,095
    • Issues 2,095
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • LazarusLazarus
  • LazarusLazarus
  • Issues
  • #38402
Closed
Open
Issue created Jan 26, 2021 by FPC Admin account@fpc_adminOwner

GTK2: SpeedButton freezes (need extra click) after close popup menu without choosing any popup menu item (Fix 2).

Original Reporter info from Mantis: and3md @and3md
  • Reporter name: Andrzej Kilijanski

Description:

This is the second part of the popup menu problem - https://bugs.freepascal.org/view.php?id=38401 (closing the menu freezes some controls (eg SpeedButton)) - this solves the problem with the system/default menus.

I divided the whole solution into two parts because, perhaps it should be fixed in a different way. This part solves the problem with the system/default popup menus by using the populate-popup signal to access the system popup menu.

This fixes:
- Edit
- Memo
- Combobox
- MAskEdit
- SpinEdit
- LabeledEdit

In the example program this part (fix 2) will fix the controls with no PopupMenu added in Lazarus.

Steps to reproduce:

The easiest way to cause the controls to freeze is:

  1. Add SpeedButton to the Form
  2. Add Edit
  3. After run click right on Edit and then click on the form to hide the popup menu
  4. At this point, the SpeedButton will be frozen (need extra click to start working)

Mantis conversion info:

  • Mantis ID: 38402
  • OS: Linux Mint
  • OS Build: 20.1
  • Platform: amd64
  • Version: 2.1 (SVN)
  • Fixed in revision: r64431 (#e7986013), r64473 (#bef5ada2)
  • Monitored by: » Petr-K (Petr-K), » AntonK (Anton Kavalenka)
Assignee
Assign to
Time tracking