Commit Graph
1000 Commits
Author SHA1 Message Date
Ruslan Sayfutdinov 87f70fa96b feat: Add current date and time to system panel (#1584) 2025-06-15 22:12:20 -06:00
Alfredo Monclus 3b96f69701 Fix: keyboard not popping up on mouse click after wayland fix 2025-06-05 20:08:38 -06:00
Andrew Bruce e2dca7dc2b Fix: keyboard not popup in Wayland/Cage (#1580)
Inside Cage, focus-in-event doesn't appear to be triggered when touching
an item, whereas touch-event does.
2025-06-05 20:08:03 -06:00
Alfredo Monclus f5c504dd97 refactor: close keypad/numpad when setting a temperature (#1568) 2025-03-25 20:47:33 -03:00
Alfredo Monclus 347e821d39 feat: add save z to save dialog (#1545) 2025-02-16 14:00:11 -03:00
Alfredo Monclus ac4ab738aa fix(job_status): filename initial state 2024-12-21 14:11:14 -03:00
Alfredo Monclus 0c067399c7 fix(leds): button previews getting overriden
fixes #1522
2024-12-15 15:25:35 -03:00
Alfredo Monclus 36c413f148 refactor: allow setting stats internally
this should better reflect user requested temp while waiting for temp

as a negative other frontends will not reflect the same value during the wait, nor will ks if it's restarted
2024-12-15 15:15:22 -03:00
Alfredo Monclus d0faec9c93 Revert "feat: Menu active status (#1482)"
This reverts commit 4172d59dbe.

due to a bug that needs to be investigated

closes #1519
2024-12-06 18:16:45 -03:00
GloughtandGlought f187d73838 feat(spoolman): Add Comment to Spools (#1511)
Co-authored-by: Glought <663343+Glought@users.noreply.github.com>
2024-11-26 12:00:56 -03:00
Alfredo Monclus a92be75c48 refactor: optimize imports 2024-11-26 11:57:43 -03:00
Alfredo Monclus 3a372b74d3 refactor: thumb log message cut decimals 2024-11-25 14:15:05 -03:00
Alfredo Monclus b9eaaf6a92 fix(exclude): current object 2024-11-25 12:07:05 -03:00
Alfredo Monclus 8e4f859b09 feat: turn off power devices that are associated to the turn on button when shutting down printer 2024-11-17 12:09:38 -03:00
Alfredo Monclus 4172d59dbe feat: Menu active status (#1482)
* feat: menu active status, now used to show if homed and leveled

* style: menu_active class
2024-11-12 16:45:35 -03:00
Alfredo Monclus f4c6801a8c refactor: extract screensaver 2024-11-12 11:33:07 -03:00
Alfredo Monclus 9a6aeaa43e feat: lockscreen closes #1490 2024-11-12 11:33:07 -03:00
Alfredo Monclus 8d78778c5b network: make a workaround for missbehaving comboboxes 2024-11-10 12:39:57 -03:00
Alfredo Monclus ecc32647ed refactor: make psutil optional 2024-10-23 21:55:29 -03:00
Alfredo Monclus 56089e68d0 fix(camera): log other levels fixes indentation 2024-10-18 11:31:45 -03:00
Alfredo Monclus d4035e9495 refactor(camera): filters and logging 2024-10-18 11:28:45 -03:00
Vasily Khoruzhick c670a2bdc8 fix(camera): don't use scale filter if angle is zero (#1485)
scale filter seems to be expensive even with angle=0. On my CB1 having
vf=rotate:0.0 in mpv arguments results in KlipperScreen using 100% of a
single core vs 30% when it's omitted.
2024-10-18 11:03:27 -03:00
Alfredo Monclus 87e18ed6d4 refactor(camera): logging 2024-10-13 13:53:29 -03:00
Alfredo Monclus 9fb17ee17f fix(camera): do not log ffmpeg app field decode errors, close #1480 2024-10-13 13:41:48 -03:00
Alfredo Monclus bdfdac9fb6 fix(shutdown): simple accept not working after 21a269edd2 2024-10-13 13:41:48 -03:00
Alfredo Monclus b3b097fbe3 fix(job_status): restart sometimes not responding 2024-10-09 17:45:28 -03:00
Alfredo Monclus ab308e23f7 feat(bed_mesh): do z_tilt or quad_level if not done before 2024-10-09 17:45:28 -03:00
Alfredo Monclus 1872b40d9f fix(base_panel): remove printer name from printer_select and fix initial not connected error 2024-10-09 17:45:28 -03:00
Alfredo Monclus 0c9884bc85 fix: misplaced logging error in 71eef9e 2024-10-09 17:45:28 -03:00
Alfredo MonclusandMrTylerjet 5ae4e475b6 feat: battery status (#1457)
* Initial commit, added psutil for getting tablet/laptop battery percentage, initial code for getting the values and displaying the icon

* add battery svgs for light theme

* added light styled battery svgs for dark themes

* update icon based on battery percentage and if device is charging

* indentation fix, and forgot to add battery plugged checks for 33% and 66% battery levels

* move battery polling to its own timer now that i understand how to add an additional timer, checks every 30 seconds. check for if show battery is on or off

* add toggle to config for settings

* show battery callback as screen.restart_ks instead of just reloading panels

* move self.battery_percentage() to end of reload_icons this ensures that when a theme is changed the icon is updated instead of waiting for the timeout to update the icon again

* remove left over commented out code

* only call self.battery_percentage when config is true

* adjust tooltip message

* split creatation of elements from updating elements

* change print to logging.debug, handle rouding for percentage in the f-string

* remove code that was moved to `attery_init()`, only destroy icon element when updating icons/percentage text, remove redundant calls to `.pack_start` (just call it once after setting the icon).

* only create battery_update timer if config setting is true

* new material icons remove old icons

* `self.battery_init() in `__init__` def

* fix: lint

* refactors

* style: update icons to follow themes

* refactor: remove config, make the show/hide automatic

* style: bigger battery icons for z-bolt and colorized

---------

Co-authored-by: MrTylerjet <MrTylerjet@gmail.com>
2024-10-09 17:34:33 -03:00
Alfredo Monclus 71eef9ee1f fix(base_panel): handle pixbuf is None, this would happen if the theme was incomplete and didn't load 2024-10-01 19:55:06 -03:00
Alfredo Monclus 40b5fbf2cf fix(job_status): animation timeout 2024-09-28 13:20:46 -03:00
Alfredo Monclus ac5e7ae065 refactor(job_status): initialize vars separately 2024-09-28 01:41:09 -03:00
Alfredo Monclus 832a86ed6e fix: shutdown not working when not connected 2024-09-23 21:12:25 -03:00
Alfredo Monclus c20d0a2f84 fix: keyboard getting doubled if switching entry via the input switch icon
got mistakenly removed in previous commit 585f477e51
2024-09-21 05:28:21 -03:00
Alfredo Monclus 585f477e51 fix: keyboard not switching entry 2024-09-20 19:16:21 -03:00
Alfredo Monclus 274fc2b263 feat: add float option to the keypad 2024-09-20 19:16:21 -03:00
Alfredo Monclus 7b857ff991 fix: autoscroll now works if the entry is at the very bottom of the scroll
the delay is needed because the osk will change the scrolledwindow adjustment, and it's only possible to scroll down more after the keyboard has been shown
2024-09-20 19:16:21 -03:00
Alfredo Monclus 5d806a82da feat: add auto alpha to keypad switching if hinted the type in the params 2024-09-20 19:16:21 -03:00
Alfredo Monclus 822f5400cf feat: add keyboard to keypad switchs to macro panel 2024-09-20 19:16:21 -03:00
Alfredo Monclus d8479220f3 fix(network): detection of some security types 2024-09-20 16:32:16 -03:00
Alfredo Monclus 768bbcd285 fix(job_status): close fullscren dialog automatically on state changes
fixes #1455
2024-09-20 11:01:51 -03:00
Alfredo Monclus 9854cc99cc fix(job_status): format of object height on metadata updates
fixes #1458
2024-09-20 11:01:47 -03:00
alfrix 3a3287145e fix: spoolman date parsing 2024-09-15 09:55:08 -03:00
Scott Mikutsky d99048d29f Only calls BED_MESH_CLEAR if bed_mesh enabled (#1460) 2024-09-04 12:45:39 -03:00
Alfredo Monclus d53f03dce4 fix: move z speed config
fixes #1450
2024-08-25 01:27:31 -03:00
Alfredo Monclus c6fca4f0f9 fix: pid_calibrate error for heater_generic
fixes #1452
2024-08-25 01:27:23 -03:00
Alfredo Monclus fca09e6004 feat(wifi): wpa-eap support (#1449) 2024-08-25 00:38:20 -03:00
Alfredo Monclus 2c3e0f6c90 refactor(extrude): only open temp panel after sending the command and checking failed
this should allow people to handle the situation without creating an extra setting
close #1434
2024-08-01 15:59:11 -03:00
Alfredo Monclus ab6c7aca47 fix(gcodes): handling of long strings in print confirm
close #1436
2024-07-28 15:43:43 -03:00