Skip to content

chore(deps): bump github.com/go-gui-org/go-gui from 0.86.0 to 0.94.0 - #26

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/go-gui-org/go-gui-0.94.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/go-gui-org/go-gui-0.94.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 9, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/go-gui-org/go-gui from 0.86.0 to 0.94.0.

Release notes

Sourced from github.com/go-gui-org/go-gui's releases.

v0.94.0

Added

  • TitlebarDark switches the window frame on Wayland under GNOME (#1192). On a compositor that leaves the frame to the app (GNOME, weston), go-gui draws it through libdecor, whose GTK plugin takes its light or dark variant from a GTK setting that the plugin sets at most once, at start-up. Window.TitlebarDark now sets that variant and repaints the frame at once. It was a no-op on every backend before. FollowSystemAppearance already calls it, so a following window's frame now switches with the desktop setting. An app that pins its theme with SetTheme calls TitlebarDark(theme.TitlebarDark) to match. Before, a dark app on libdecor 0.2.2 (Debian 13, Ubuntu 24.04) sat under a light frame, and on later versions the frame kept its start-up variant after the desktop switched. The variant is one per process, so the last call sets it for every window. The cairo plugin's colours are fixed, and X11, Windows and macOS frames do not change yet. https://github.com/go-gui-org/go-gui/blob/HEAD/examples/system_appearance follows the desktop and pins a light or dark theme with the frame to match.

  • Key codes for every printable ASCII character, and ModAltGr (#1188). The keys that had no KeyCode constant now have one, valued at their character code like the existing ones: KeyExclamation, KeyQuotation, KeyNumberSign, KeyDollar, KeyPercent, KeyAmpersand, KeyLeftParen, KeyRightParen, KeyAsterisk, KeyPlus, KeyColon, KeyLess, KeyGreater, KeyQuestion, KeyAt, KeyCircumflex, KeyUnderscore, KeyLeftBrace, KeyBar, KeyRightBrace and KeyTilde. KeyScrollLock, KeyPrintScreen, KeyPause and KeyF21–KeyF24 are exported. ModAltGr names ISO level 3 (AltGr), which is not Ctrl+Alt; Shortcut.String shows it as AltGr+. Linux sends them (see Fixed); other platforms do not yet.

  • Shortcuts match the key a press typed: Event.TypedKey and Event.TypedModifiers (#1188). A key down now also carries the key the press produced with Shift, AltGr and NumLock applied, and the modifiers that translation did not use up. On a German layout Shift+7 types /: KeyCode stays Key7 with Shift, TypedKey is KeySlash with no modifiers. Command dispatch tries an exact KeyCode/Modifiers match first and, only when no command matches, TypedKey/TypedModifiers. So Shortcut{Key: KeySlash} fires on German Shift+7, Ctrl+/ on Ctrl+Shift+7, KeyLeftBracket on AltGr+8 and Ctrl++ on US Ctrl+Shift+=, while a command bound to the exact keys still wins. Ctrl+Shift+A stays Ctrl+Shift+A: a press that types the same key keeps all its modifiers. On the default US layout every existing shortcut behaves as before. The Linux backends (Wayland and X11) set the fields; on Windows, macOS and web they are zero and matching is exact, as before. https://github.com/go-gui-org/go-gui/blob/HEAD/examples/key_inspector shows, for every key press, its KeyCode, TypedKey, modifiers and character, and the shortcut to bind it with; its terminal output is what a keyboard bug report needs.

  • Custom shaders can read textures: Shader.Surface binds a PixelSurface's planes as iChannel0-iChannel3 (#1168). A surface can now hold up to four

... (truncated)

Changelog

Sourced from github.com/go-gui-org/go-gui's changelog.

Changelog Archive

Published releases. Unreleased changes are in https://github.com/go-gui-org/go-gui/blob/main/CHANGELOG.md.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[v0.90.0] - 2026-10-16

Added

  • Stack lays children in layers (#1071). gui.Stack(cfg) takes a ContainerCfg and puts its children one over the other. The first child is the bottom layer and the last child is the top layer: it is drawn last and gets the pointer first. Every child starts at the content origin. A Fill child takes the whole content box, and a Fit Stack is as large as its largest child. HAlign and VAlign place each child on both axes; Spacing has no effect. Before this, controls over a background image or canvas needed Float, which takes the layer out of its container: it did not scroll or clip with it and did not size it. Stack layers stay in the tree. examples/stack/ and the showcase's Stack page show it.

  • PDF print keeps nearest-neighbor images sharp (#1069). An Image widget with Filter: gui.ImageFilterNearest, or a canvas image drawn after SetImageFilter(gui.ImageFilterNearest), now prints with hard pixel edges. Setting the PDF /Interpolate flag would not help: it is already off by default, and most viewers smooth a scaled image anyway. So the export repeats each source pixel enough times to reach 300 dpi at the drawn size, capped at 4096 pixels per side, and embeds that larger image. Mem images and PNG, JPEG and GIF files are covered. A file that cannot be decoded is embedded as before. Linear images are unchanged. The PDF file grows, though repeated pixels compress well as PNG.

  • ImageCfg.Filter draws a scaled Image widget with sharp pixels (#1066). Set Filter: gui.ImageFilterNearest and the widget samples the nearest texel, as DrawContext.SetImageFilter does on a canvas. A sprite or pixel-art icon shown through gui.Image no longer turns blurred when it is drawn larger than its own size. The zero value is ImageFilterLinear, so existing images draw as before. A remote SVG ignores the field. examples/pixel_art/ now shows both the canvas and the widget.

  • DrawContext.SetImageFilter draws scaled images with sharp pixels (#1065). dc.SetImageFilter(gui.ImageFilterNearest) makes the Image, ImageWithFetcher and ImageClipped calls that follow sample the nearest texel instead of blending four. Pixel art, retro UIs and small sprites drawn at 2x or more keep hard edges instead of turning blurred. The filter is part of the state Save and Restore keep, and each OnDraw starts with ImageFilterLinear, so nothing changes for code that does not set it. All backends support it: Metal (macOS, iOS), OpenGL (Linux, Windows), Android, web

... (truncated)

Commits
  • 4b7db9e Merge pull request #1200 from go-gui-org/release/v0.94.0
  • 14ccdf5 changelog: add v0.94.0
  • 6a632a1 Merge pull request #1199 from go-gui-org/feat/1192-titlebar-dark-libdecor
  • 5e2b581 test(wayland): check the commits TitlebarDark's repaint makes (#1192)
  • 294b268 feat(wayland): TitlebarDark switches the libdecor GTK frame (#1192)
  • a5d6ee2 Merge pull request #1197 from go-gui-org/fix/1194-libdecor-eintr
  • ff111f8 fix(wayland): treat EINTR from libdecor_dispatch as no events (#1194)
  • abdbdf0 fix(keyboard): layout-correct keys, text and shortcuts on Linux (#1188) (#1196)
  • bf975f7 Merge pull request #1195 from go-gui-org/fix/1193-context-menu-flip
  • 03d834e fix(rtf): keep the tooltip anchor out of input, use the drawn run box (#1193)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/go-gui-org/go-gui](https://github.com/go-gui-org/go-gui) from 0.86.0 to 0.94.0.
- [Release notes](https://github.com/go-gui-org/go-gui/releases)
- [Changelog](https://github.com/go-gui-org/go-gui/blob/main/CHANGELOG-archive.md)
- [Commits](go-gui-org/go-gui@v0.86.0...v0.94.0)

---
updated-dependencies:
- dependency-name: github.com/go-gui-org/go-gui
  dependency-version: 0.94.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, go. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot @github

dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #30.

@dependabot dependabot Bot closed this Nov 16, 2026
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/go-gui-org/go-gui-0.94.0 branch November 16, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants