VERSION 12.0 - Major Release for GNOME 51 Compatibility
This is a major release focused on GNOME 51 compatibility, with targeted fixes for the color picker, text tool, and preferences dialog. This version has been approved by GNOME Extensions (E.G.O.) and is available there:
https://extensions.gnome.org/extension/7921/draw-on-gnome/
and is also available at:
- GitHub releases:
- Bash installation script
- Main repository (which will have minor releases as well as they come out.)
If you are using GNOME 50+, you want version 12.
If you are using GNOME 46-49, you want version 9.
Fix: Color Picker (Eyedropper)
Restored native color picker functionality for GNOME 50+. The eyedropper overlay now correctly uses the Clutter actor cursor API (set_cursor_type) and properly manages modal focus with Main.pushModal / Main.popModal, replacing removed X11-era display cursor calls.
Note: The "look" is not as appealing as it was in X11 versions of GNOME. That is because the special cursors (hand, crosshair, eyedropper, none) that functioned in X11 do not function in Wayland. The GNOME development team, as of today, does not have a timeline for new cursors in Wayland. This is something I hope is integrated into GNOME 52.
File Modified: area.js
Fix: Text Tool Enter Key
In GNOME 51, ClutterText's default Enter → newline behavior changed. Added explicit handling of Clutter.KEY_Return and Clutter.KEY_KP_Enter in the text entry key handler, calling insert_unichar('\n') directly. Newlines now work correctly in the text tool on both GNOME 50 and 51.
File Modified: area.js
Fix: Preferences Dialog Error
openPreferences() returns a Promise in GNOME 51 but undefined in GNOME 50. Added optional-chaining catch (?.catch()) to handle the unhandled rejection that appeared when attempting to open preferences while a dialog was already showing.
File Modified: areamanager.js
Cleanup: Removed Unused Import
Removed a leftover unused GrabHelper import that was no longer referenced anywhere in the file.
File Modified: area.js
Known Limitation: Laser Pointer Cursor
On GNOME 50+, the system cursor remains visible while the laser pointer tool is active. This is due to the removal of Meta.Cursor / display.set_cursor() in GNOME 50 (X11 removal). The replacement Wayland cursor APIs behave inconsistently across environments. This is a known limitation pending a proper upstream API solution.
That's it! ENJOY!! 😀
