Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • 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,094
    • Issues 2,094
    • 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

Scheduled maintenance on the database layer will take place on 2022-07-02. We expect GitLab.com to be unavailable for up to 2 hours starting from 06:00 UTC. Kindly follow our status page for updates and read more in our blog post.

  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #29645
Closed
Open
Created Feb 12, 2016 by FPC Admin account@fpc_adminOwner

TFloatSpinEdit on GTK2 does not allow unconstrained min and max values

Original Reporter info from Mantis: crlab @neurolabusc1
  • Reporter name: Chris Rorden

Description:

I think this is a variation of the previously reported issues (0023266, 0028123), but the Linux GTK2 widgetset's TFloatSpinEdit does not behave the same as Delphi or Lazarus on Windows or OSX. Specifically, with other setups if you make the MinValue equal MaxValue then the entry is unconstrained. However, on GTK2 the value is locked to be precisely this value.

Steps to reproduce:

procedure TForm1.FormShow(Sender: TObject);
begin
  FloatSpinEdit1.MinValue := 0.0;
  FloatSpinEdit1.MaxValue := 0.0;
  //FloatSpinEdit1.MaxValue := 10.0;
  FloatSpinEdit1.Value := 2.0;
end; 

Mantis conversion info:

  • Mantis ID: 29645
  • OS: CentOS
  • OS Build: 6.6
  • Build: 51253
  • Platform: Haswell 4790 w GTX 970
  • Version: 1.6RC1
  • Fixed in revision: r51619 (#49551b76)
  • Target version: 1.6
Assignee
Assign to
Time tracking