Skip to content

Update module fyne.io/fyne/v2 to v2.5.1

Renovate Bot requested to merge renovate/fyne.io-fyne-v2-2.x into master

This MR contains the following updates:

Package Type Update Change
fyne.io/fyne/v2 require minor v2.4.5 -> v2.5.1

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

fyne-io/fyne (fyne.io/fyne/v2)

v2.5.1: Polishes and text/translation improvements form v2.5.1

Compare Source

The Fyne team are excited to anounce the latest release, v2.5.1. Building on the success of the 2.5 branch of releases it includes the following fixes:

  • Apps with translations in new languages would not be recognised (#​5015)
  • App ID can be ignored from metadata file with go build/run
  • Typing Chinese characters in widget.Entry and perform undo/redo crashes the app (#​5001)
  • Assets would render Low-DPI before attaching to a canvas
  • Single click in file dialog enters two directories (#​5053)
  • Light/Dark mode detection no longer works on Ubuntu with Fyne 2.5 (#​5029)
  • Scroll acceleration logic causes scrolling to "jump" suddenly on macOS (#​5067)
  • SetSystemTrayMenu doesn't work when run in goroutine (#​5039)
  • stack overflow when calling SetRowHeight in table UpdateCell callback (#​5007)
  • Resizing List causes visible items to refresh instead of resize (#​4080)
  • Child widget with Hoverable() interface keeps parent widget's Tapped() function from being called. (#​3906)
  • App Translation file is ignored / tries to load BR (#​5015, #​5040)
  • Missing theme variant auto-switching (dark/light) for Windows (#​4537)
  • Get DoubleTapDelay from the OS if an API is available (#​4448)
  • Entry cursor is not visible with animations off (#​4508)
  • Redundant justify-content properties in CSS for centered-container class (#​5045)
  • Update go-text/render to avoid crashing when rendering certain bitmap fonts (#​5042)
  • Using container.NewThemeOverride leaks memory until window closing (#​5000)

v2.5.0: v2.5 introduces international support, system font lookup and completes Wayland and Web support (except file handling)

Compare Source

Added
  • Internationalisation support and translations (#​605, #​3249)
  • Look up system fonts for glyphs that cannot be found embedded (#​2572, #​1579)
  • Completed support for Wayland on Linux
  • Completed support for the Web driver (*except file handling)
  • Add support for XDG Desktop Portals when built with -tags flatpak on Linux
  • Activity indicator widget
  • InnerWindow and MultipleWindows containers
  • ThemeOverride container for grouping items with a different theme
  • Add NativeWindow.RunNative to use a native window handle (#​4483)
  • Ability to request display stays on - SetDisableScreenBlanking (#​4534, #​3007)
  • Add Undo/Redo support for widget.Entry (#​436)
  • Add AppendMarkdown function to RichText
  • Add option in List to hide separators (#​3756)
  • New CustomPaddedLayout for more fine-grained container padding
  • Add SizeName property to Hyperlink widget
  • Support Ctrl+[backspace/delete] to delete the word to the left or right of the cursor
  • Add IntToFloat (and FloatToInt) in bindings Data binding (#​4666)
  • Add ScrollToOffset/GetScrollOffset APIs for collection widgets
  • Add ColumnCount API to GridWrap widget
  • Disable and Enable for Slider widget (#​3551)
  • Function Remove added to List bindings (#​3100)
  • Form layout can now be vertical (labels above field) or adaptive for mobile
  • Add support for Bold, Italic and Underline for TextGrid (#​1237)
  • Add support for setting a custom resource as the font source for text (#​808)
  • New test functions NewTempApp, NewTempWindow and TempWidgetRenderer to free resources automatically
Changed
  • Fyne now depends on Go 1.19 at a minimum
  • Round the corners of scroll bars with new theme value
  • Improve contrast of text on highlight background colours
  • Layout of iOS and Android apps will adapt when keyboard appears (#​566, #​2371)
  • FyneApp.toml will now be loaded with go build (#​4688)
  • Text wrapping will now wrap in dialogs (#​2602)
  • System tray and tray menu icons on will now match theme on macOS (#​4549)
  • Triple clicking in an Entry widget now selects current line (#​4328)
  • About menu items will now override the macOS default About
  • System tray no longer shows tooltips (until we have full support)
  • Double tapping an item in a file dialog now selects and returns
  • Widgets should now use theme.ForWidget() instead of theme.Default() or static helpers
Fixed
  • Kannada characters not rendering correctly (#​2654)
  • Notifications are not working on iOS (#​4966)
  • Incorrect scaling on Steam Deck screen Accessibility (#​4896)
  • Sometimes the last list row that should be visible doesn't show (#​4909)
  • RichText swallowing whitespace after Markdown links (#​4613, #​4340)
  • Disabled app tabs can still be selected in popup menu (#​4935)
  • Don't show title when mouse hover on Systray menu (#​4916)
  • Trying to access a URL through canvas.NewImageFromURI() in a test results in a panic (#​4863)
  • Don't insert tab character in Entry when Shift+Tab typed
  • Select Does Not Gain Focus When Tapped (#​4767)
  • binding.Untyped crashes when set to nil bug (#​4807)
  • Label and Slider not aligned in a FormItem (#​4714)
  • Windows: App Icon in Notification (#​2592)
  • Fix possible writing of empty preference data in some quit events
  • Allow application to set default view (list/grid) of file dialog before showing it (#​4595)
  • Fix ScrollToOffset when viewport is larger than content size
  • Incorrect row header width in widget.Table (#​4370)
  • Add missed truncation mode for hyperlink (#​4335)
  • AppTab does not display blue indicator line if you create it empty and then Append items to it later.
  • Many optimisations in animation, draw speed, layout and widget size calculations

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by Renovate Bot

Merge request reports