You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the GTK platform, incrementing progress bar Value, one-by-one, maxes out at 28. When incrementing Value by 2, it is able to make it to 100 successfully.
I was not able to reproduce via this method on the Mac64 platform, however I have observed similar behaviour with a Property binding. I think this could be down to an unrelated threading issue however.
Code that Demonstrates the Problem
usingSystem;usingEto;usingEto.Forms;usingEto.Drawing;namespaceEtoTest{publicpartialclassMainForm:Form{publicMainForm(){Title="My Eto Form";MinimumSize=newSize(200,200);varprogressBar=newProgressBar();varbutton=newButton((_,_)=>{progressBar.Value+=1;Console.WriteLine($"{progressBar.Value}{progressBar.MinValue}{progressBar.MaxValue}");}){Text="Increment"};Content=newTableLayout(progressBar,button,null);varquitCommand=newCommand{MenuText="Quit",Shortcut=Application.Instance.CommonModifier|Keys.Q};quitCommand.Executed+=(sender,e)=>Application.Instance.Quit();varaboutCommand=newCommand{MenuText="About..."};aboutCommand.Executed+=(sender,e)=>newAboutDialog().ShowDialog(this);}}}
Specifications
Version: Eto.Forms 2.7.5 on .NET 6
Platform(s): Gtk (gtk+3 via Homebrew version 3.24.38)
Operating System(s): macOS 14 Public Beta 2
The text was updated successfully, but these errors were encountered:
Expected Behavior
Progress bar value can be set arbitrarily.
Actual Behavior
On the GTK platform, incrementing progress bar
Value
, one-by-one, maxes out at 28. When incrementingValue
by 2, it is able to make it to 100 successfully.I was not able to reproduce via this method on the Mac64 platform, however I have observed similar behaviour with a Property binding. I think this could be down to an unrelated threading issue however.
Code that Demonstrates the Problem
Specifications
gtk+3
via Homebrew version 3.24.38)The text was updated successfully, but these errors were encountered: