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
  • #32827
Closed
Open
Issue created Dec 14, 2017 by FPC Admin account@fpc_adminOwner

After scrolling, the scroll bar indicators disappear

Original Reporter info from Mantis: djenkins @dfjenkins
  • Reporter name: David Jenkins

Description:

It seems the backgrounds are invalidating and redrawing but the actual bar is not. Adding a setNeedsDisplay to end of TCocoaScrollBar.actionScrolling fixes this.

Additional information:

Patch:

Index: cocoaprivate.pp
===================================================================
--- cocoaprivate.pp	(revision 21837)
+++ cocoaprivate.pp	(revision 21914)
@@ -1572,6 +1572,7 @@
   LMScroll.ScrollCode := SIF_POS;
 
   LCLMessageGlue.DeliverMessage(LCLScrollBar, LMScroll);
+  setNeedsDisplay_(True);
 end;
 
 function TCocoaScrollBar.IsHorizontal: Boolean;

Mantis conversion info:

  • Mantis ID: 32827
Assignee
Assign to
Time tracking