#flex-dev Logs
Nov 05 2025
#flex-dev Calendar
04:09 AM Tom_L: morning
04:22 AM JT-Cave: morning
04:32 AM Tom_L: JT-Cave, can you save the location of the number keypad popup as well as the other kbd popups?
04:33 AM Tom_L: on a touch setup
05:23 AM JT-Cave: I would think I can
06:55 AM rdtsc-w: Tom, I'd planned on having FlexGUI/LinuxCNC start with the OS, and leave a few USB ports exposed in case a keyboard was desired. But can run everything except FlexGUI over SSH
06:57 AM rdtsc-w: so SSH -X cnc@rpi5ip then geany &, and an editor window pops up on the client (both systems must be X11 and have x11 forwarding enabled)
07:09 AM Tom_L: JT-Cave, that was a future feature request :)
07:09 AM Tom_L: rdtsc-w, i added an icon to the launch bar and that seems to work
07:10 AM rdtsc-w: double-tap on the desktop depends on a lot of things, and nobody seemed pressed about it, so figured it would happen sometime later
07:22 AM Tom_L: PR #383
08:08 AM JT-Cave: https://pasteboard.co/bVOCoYStC9Lv.png
08:09 AM * JT-Cave starts his chicken day
08:39 AM lcnc-relay: <AllAboutJake@> Nice.
08:39 AM lcnc-relay: <AllAboutJake@> Thanks!
08:43 AM lcnc-relay: <AllAboutJake@> Does the current framework of widgets support this kind of an interaction:
08:43 AM lcnc-relay: - a DRO label that shows the current location in the currently active coordinate space
08:43 AM lcnc-relay: - tap the DRO label, becomes editable (keyboard appears for touch)
08:43 AM lcnc-relay: - edit the value and confirm it
08:43 AM lcnc-relay: - coordinate space is updated with the provided value for the given axis
09:27 AM JT-Cave: interesting but a few things might be a problem a label does not have a clicked signal
09:28 AM JT-Cave: There is touch off buttons for axes and a single line edit for all or a line edit for each
09:28 AM Tom_L: watching a yt on layouts :)
09:29 AM Tom_L: maybe they'll start to make sense
09:29 AM JT-Cave: https://pasteboard.co/0SpEYGcC0EJ0.png
09:29 AM JT-Cave: cool
09:30 AM Tom_L: i'd get them doing somthing like what i wanted then turn around and break it and couldn't figure out how to get it bakc
09:30 AM Tom_L: back
09:30 AM JT-Cave: Ctrl z
09:30 AM Tom_L: yeah i'm quite familiar with it :)
09:31 AM Tom_L: at least i've got an idea where things will go now for the touch version
09:31 AM JT-Cave: sometimes in designer I'll grab the wrong thing and start to drag then let go and it trashes my layout
09:31 AM JT-Cave: so I just back up
09:31 AM Tom_L: just gotta make them stretchable
09:31 AM Tom_L: i wanted to get an idea of the end since i was starting over
09:32 AM Tom_L: now i'll go back and see about fixing things to move better
09:32 AM JT-Cave: cool
09:32 AM Tom_L: what's a good minimum size full screen to start ?
09:33 AM JT-Cave: the size of your touch screen if it's small to medium
09:33 AM Tom_L: 1920 x 1080 would be the higher end
09:33 AM Tom_L: the touch screen is that
09:34 AM Tom_L: just trying to recall the common sizes
09:34 AM JT-Cave: my rpi is 1366 x 768
09:35 AM Tom_L: i see a setting on this monitor of 1280 x 720
09:35 AM Tom_L: the plan is to set minimum sizes for each widget then put them in layout containers
09:38 AM Tom_L: i should get a metric config working enough to test the drill ops first and get that finished up
09:48 AM Tom_L: 5 min of yt and most of my questions so far have been cleared up
09:52 AM JT-Shop: cool
09:52 AM * JT-Shop heads to town to wash and gas up
09:55 AM Tom_L: https://www.youtube.com/watch?v=h_DVfsD9PKI
09:55 AM Tom_L: to the point
11:45 AM lcnc-relay: <AllAboutJake@> JT-Cave: Hehe. I’m kind of trying to emulate the UI I’ve seen on a friend’s Mach 3 machine. Yeah I see the touch off widgets and that probably works.
11:46 AM lcnc-relay: <AllAboutJake@> I find myself looking at the flex code in github from time to time. Trying to learn how the python side talks to the qt side
12:12 PM lcnc-relay: <roguish> Tom_L: fyi. I have an ELO ET2740 touch screen.. 1920 x 1080
12:15 PM Tom_L: does double tap work on it on debian 12?
12:17 PM Tom_L: that seems to be an issue
12:28 PM lcnc-relay: <roguish> double tap ??? not sure what that is
12:31 PM lcnc-relay: <roguish> just looked that up....
12:32 PM lcnc-relay: <roguish> what would it be used for in a linuxcnc gui ???
12:35 PM Tom_L: main screen or the gui
12:35 PM Tom_L: double tap an icon on the main screen and it should launch it
12:36 PM Tom_L: double tap on a container and it moves focus to it so it can be dragged around the screen
12:36 PM lcnc-relay: <roguish> no clue. i'll give it a try in a while....
12:36 PM Tom_L: try something on the main screen
12:37 PM Tom_L: that's a debian 12 issue if it is
12:41 PM JT-Shop: Tom_L, in that video he doesn't explain how to change the size policy behavior of the push buttons
12:46 PM JT-Shop: ah he does touch on the size policy later on
01:05 PM Tom_L: ?
01:05 PM Tom_L: oh
01:11 PM JT-Shop: I've never used a layout itself I use a container then set the layout of the container but what he shows might be useful to have several layouts in one container
01:13 PM Tom_L: yeah
01:13 PM Tom_L: do you know how to enable the 2nd hdmi on the rpi5?
01:13 PM Tom_L: or debian...
01:14 PM JT-Shop: no
01:18 PM Tom_L: tried flipping cables and it still goes to the primary one even though it's hdmi2
01:20 PM Tom_L: well, i'm not goin down that rabbit hole right now
01:22 PM rdtsc-w: two displays on mill - second one dedicated to youtube :)
01:29 PM Tom_L: new hdmi plug was really tight and wasn't in all the way :)
02:46 PM JT-Shop: AllAboutJake@ you're going to have to post some screen shots of your gui
02:53 PM Tom_L: going a bit smoother here now
02:55 PM rdtsc-w: rpi5+NVME you ought to be flying :)
03:41 PM * JT-Shop takes 5
03:48 PM Tom_L: do you need one primary layout container?
03:48 PM JT-Shop: the main window is the primary container
03:49 PM Tom_L: why does it not expand when you run stretch the screen then?
03:49 PM Tom_L: -run
03:49 PM JT-Shop: it?
03:50 PM Tom_L: i run the gui and it doesn't resize with the screen
03:50 PM JT-Shop: what is it?
03:50 PM Tom_L: the gui
03:51 PM Tom_L: i'll keep putzing..
03:51 PM JT-Shop: do you mean the gui does not resize when you change the screen resolution?
03:51 PM Tom_L: yes
03:52 PM Tom_L: or expand the screen with the mouse
03:52 PM JT-Shop: you have to set it to maximize
03:52 PM Tom_L: it?
03:52 PM Tom_L: the main window?
03:52 PM JT-Shop: yup I'm cornfused
03:52 PM Tom_L: i set a minimum size for the main window
03:53 PM Tom_L: 1200 x 720 iirc
03:53 PM JT-Shop: ok
03:55 PM JT-Shop: make a screenshot
03:56 PM Tom_L: when i get back to a place i can..
03:56 PM JT-Shop: ok
03:56 PM Tom_L: it's a mess atm
03:56 PM JT-Shop: sounds like my machine shop
04:00 PM Tom_L: it's a puzzle with a piece missing
04:10 PM JT-Shop: it's always a puzzle...
04:11 PM JT-Shop: and it's easy once you know how
04:15 PM rdtsc-w: doesn't have something to do with containers? a container can be set to keep items in certain positions, no?
04:17 PM JT-Shop: possibly the problem is not understanding all the settings
04:17 PM JT-Shop: and a container can have many settings
04:17 PM JT-Shop: but I still need a visual to understand the issue
04:20 PM JT-Shop: when you set a layout the widgets in the layout will expand/collapse as you change the main window size
04:20 PM JT-Shop: how they change size is controlled by a few things
04:52 PM Tom_L: it's getting there. i think the minimum size i chose was unrealistic
04:52 PM Tom_L: 1200 x720
04:52 PM JT-Shop: the debian menu may take up part of the screen
04:53 PM Tom_L: the next one up from 1280 x 720 is 1920 x 1080
04:54 PM JT-Shop: mrs seasoned up some 80-20 and we made some burgers
04:54 PM JT-Shop: freeze a bunch and have a couple tonight
04:55 PM Tom_L: nice
04:56 PM Tom_L: i already knew i need to redo the tab side but i've been using it for screen fill
04:56 PM JT-Shop: screen fill?
04:57 PM Tom_L: i will rebuild it on a separate ui then copy it in once it's fixed
04:57 PM JT-Shop: ok
04:57 PM Tom_L: so i have all the elements present
04:58 PM Tom_L: what's that screen recorder called?
04:58 PM Tom_L: i need to install something like that
04:58 PM JT-Shop: simple screen recorder
04:58 PM Tom_L: do you recall the package name?
04:59 PM Tom_L: i'd have to reboot into amd64 to find it
04:59 PM JT-Shop: simplescreenrecorder
05:00 PM Tom_L: thanks
05:00 PM JT-Shop: np
05:02 PM * JT-Shop calls it a night
05:08 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/video/mill-touch-test1.mkv
05:09 PM Tom_L: can't figure out why the left 2 don't expand
05:09 PM Tom_L: horizontally
05:09 PM Tom_L: the right side tabs need to be redone, i'm aware of that
05:09 PM Tom_L: put them in to take up space
05:57 PM lcnc-relay: <AllAboutJake@> Playing with the new LED buttons. while the unhome_all_pb can accept an led indicator now, it doesn't really light up when all joints are unhomed. Probably don't need an indicator on this one.
09:13 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/video/mill-touch-test2.mkv
09:13 PM Tom_L: better
09:13 PM Tom_L: i need to figure out how to expand the widgets inside the tabs now