|
From: Hans U. <no...@gi...> - 2026-06-07 21:01:24
|
Branch: refs/heads/master Home: https://github.com/LinuxCNC/linuxcnc Commit: 58331c79ca1b284e752f0ffe2c196b8d4ab29888 https://github.com/LinuxCNC/linuxcnc/commit/58331c79ca1b284e752f0ffe2c196b8d4ab29888 Author: Luca Toniolo <107...@us...> Date: 2026-06-07 (Sun, 07 Jun 2026) Changed paths: M docs/src/gui/touchy.adoc M src/emc/usr_intf/touchy/touchy.glade M src/emc/usr_intf/touchy/touchy.py Log Message: ----------- touchy: fit the window to the monitor Touchy has no scrolling, so when content is larger than the display the window grows past the screen edge and controls become unreachable. The worst offender is structural: a GtkNotebook sizes to its largest page, so the small visible page (the buttons) was forced as wide as the hidden Preferences page, and the tall tool-table listing grew the window on reload. - Wrap each notebook page in a scroller, so the notebook sizes to the current page and oversized pages (Preferences, a long tool table) scroll instead of growing the window. This alone keeps the height in check and cuts the width from 1346 to 1094 px. - Wrap the whole window in a scroller and bound it to the monitor work area, so it can never exceed the screen. - Hide the handwheel column on the Preferences tab (you are not jogging there) so the wide settings page gets the full width. - When the content still does not fit a narrow screen, float a non-modal info bar over the content offering to shrink the fonts: Shrink to fit and save / Not now / Never ask again. Accepting scales to the largest fitting size, rounds to whole points, saves them, and updates the pickers to match. It is only shown when it does not fit and never repeated once it fits; Not now is remembered per screen size (fit_skip_size) so it is not offered again until the screen changes, and Never ask again (fit_fonts) disables it entirely. - Add an 'Offer to shrink fonts to fit the screen' checkbox to Preferences / Display Options to re-enable the offer after Never ask again, and document the behaviour. Commit: 2c61f67aafb67529c46b01f5e396fbcd34e1d8f4 https://github.com/LinuxCNC/linuxcnc/commit/2c61f67aafb67529c46b01f5e396fbcd34e1d8f4 Author: Luca Toniolo <107...@us...> Date: 2026-06-07 (Sun, 07 Jun 2026) Changed paths: M src/emc/usr_intf/touchy/listing.py M src/emc/usr_intf/touchy/touchy.py Log Message: ----------- touchy: fix resize, startup tab, drag-to-scroll, listing click error - Window is now resizable smaller than screen (scroller max-content bounds the top end; min stays 0). - Startup tab restored correctly after page-wrapping loop shifted it. - Each page scroller accepts drag-to-pan (finger or mouse, 8px threshold so button taps are unaffected). - Fix pre-existing TypeError in listing.on_select: button_release_event passes (widget, event) but signature accepted only one argument. Commit: 59697b019a5cc12009987a510c7826f6b9d543b3 https://github.com/LinuxCNC/linuxcnc/commit/59697b019a5cc12009987a510c7826f6b9d543b3 Author: Hans Unzner <han...@gm...> Date: 2026-06-07 (Sun, 07 Jun 2026) Changed paths: M docs/src/gui/touchy.adoc M src/emc/usr_intf/touchy/listing.py M src/emc/usr_intf/touchy/touchy.glade M src/emc/usr_intf/touchy/touchy.py Log Message: ----------- Merge pull request #4131 from grandixximo/touchy-fit-monitor touchy: fit the window to the monitor Compare: https://github.com/LinuxCNC/linuxcnc/compare/4d0eeed810e9...59697b019a5c To unsubscribe from these emails, change your notification settings at https://github.com/LinuxCNC/linuxcnc/settings/notifications |