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
  • #37595
Closed
Open
Issue created Aug 19, 2020 by FPC Admin account@fpc_adminOwner

Menu item drawing issue during adding a menu separator

Original Reporter info from Mantis: wp @wpam
  • Reporter name:

Description:

When a new menu item is added to a menu is takes a short time until the menu is updated. If a separator line as added the neighboring menu item is erroneously displayed also in the space to be occupied by the separator. When a regular menu item is added this does not happen

Steps to reproduce:

Add a TMainMenu to a form
Open the menu editor and add several menu items.
Select one of the inner items and click on one of the buttons in the second button column of the menu editor in order to add a separator above or below the selected item
During the time the menu is rebuilt the selected item is drawn in the space to be occupied by the separator; this should not happen.

See attached screenshot.

Additional information:

Beginning with Laz trunk r63791 I checked back to v1.8.4 - all versions show the issue (v1.6.x has still the old menu editor).

I see the issue clearly on Win 10. On Manjaro Linux, on the other hand, the separator line appears immediately, no duplicate drawing of the selected menu item - it is not clear to me, however, whether this is a consequence of the menu building process appearing to be considerably faster in Manjaro than in Windows

Mantis conversion info:

  • Mantis ID: 37595
  • Fixed in revision: r63802 (#8b34fff8), r63803 (#dbe82166)
  • Monitored by: » BrunoK (BrunoK)
Assignee
Assign to
Time tracking