github go-gui-org/go-gui v0.88.2

latest releases: v0.96.0, v0.95.0, v0.94.0...
one month ago

Fixed

  • Markdown documents with the same source but different styles no longer share
    styled blocks (#1000).
    The per-window block cache was keyed only on the
    source hash, while the cached blocks hold resolved run styles. A second
    document with the same source drew with the first one's faces, sizes and
    colors, and restyling a document with an unchanged source kept the old blocks.
    The key now carries a fingerprint of the full MarkdownStyle (plus the code
    highlighter's identity), so each source-and-style pair parses separately and
    identical pairs still share.
  • Select: hovering an option highlights only that option (#1004). Since
    v0.87.0, moving the pointer from one dropdown option to another left the old
    option washed beside the new one. Hover moves the keyboard highlight during
    arrange, after generation had painted the old one, and the idle-move skip
    (#973) meant no later move inside the option rebuilt the frame. The option now
    asks for a rebuild when its hover moves the highlight, so the frame on screen
    shows one highlighted option.
  • Windows: right Shift, Ctrl and Alt report the right side (#1007). Win32
    key messages name only the generic Shift, Ctrl and Alt keys, and the backend
    mapped each to the left side. Right Shift arrived as KeyLeftShift, right
    Ctrl as KeyLeftControl and right Alt (AltGr) as KeyLeftAlt. The backend
    now reads the side from the message's scancode and extended-key bit, so apps
    that treat the two sides differently get the key that was pressed, on key-down
    and key-up. Two Win32 quirks are handled the way GLFW handles them. With both
    Shift keys held, Windows sends no key-up for the first release; both sides are
    now released, and a key that is physically up gets its key-up with the next
    message. The Win key, whose key-up Windows drops after the Win+V hotkey, gets
    the same check. AltGr no longer sends a fake left Ctrl key-down and key-up
    ahead of right Alt. Losing focus releases a held Shift or Win key.

What's Changed

Other changes

Full Changelog: v0.88.1...v0.88.2

Don't miss a new go-gui release

NewReleases is sending notifications on new releases.