Skip to content

GitLab Next

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,080
    • Issues 2,080
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #22996
Closed
Open
Created Sep 27, 2012 by FPC Admin account@fpc_adminOwner

TScrollbar painting get overridden somewhere

Original Reporter info from Mantis: ggeldenhuys
  • Reporter name: Graeme Geldenhuys

Description:

The TScrollbar (at least under LCL-GTK2) does not behave as expected. For example. Place a TScrollbar on a empty Form. Now set the Form's Color property to clBlack. The GTK2 themed TScrollbar simply disappears as everything is painted clBlack. See attached screenshot.

According to Mattias the ControlStyle value csOpaque should have prevented this from occurring, but clearly it is not.

The code from TCustomScrollbar.Create()

  ControlStyle := ControlStyle + [csFramed, csDoubleClicks, csOpaque]
                               - [csAcceptsControls, csDoubleClicks,
                                  csCaptureMouse, csSetCaption];

clearly shows that csOpaque is indeed specified, but somewhere the TScrollbar painting is still evorridden.

This bug is also clearly visible in the popup window of IDE's source code editor. See bug report #19085 (closed)

Mantis conversion info:

  • Mantis ID: 22996
  • OS: Linux OpenSUSE
  • OS Build: 12.2
  • Platform: x86_64
  • Version: 1.1 (SVN)
  • Fixed in revision: 38860 (#8b7dff7f)
Assignee
Assign to
Time tracking