406 Commits

Author SHA1 Message Date
Alfredo Monclus
2d2e80c3fd panels: allow to call them without name 2024-06-04 11:16:50 -03:00
Alfredo Monclus
a3bfcc4f44 fix screensaver not properly resetting if the blanking is different when printing 2024-06-03 14:27:33 -03:00
Alfredo Monclus
5abfb6f226 screen: theme doesn't need a restart anymore 2024-06-03 08:22:48 -03:00
Alfredo Monclus
a37cb967a1 screen: refactor theme load to allow on the fly switching 2024-06-02 12:36:53 -03:00
Alfredo Monclus
cb014a850b screen: refactor theme load into separated methods 2024-06-02 10:05:58 -03:00
Alfredo Monclus
18853a7371 splash: show the message when klipper is shutdown 2024-06-02 06:48:11 -03:00
Alfredo Monclus
5619a77d6e changes to make ks start and give the no support error in python 3.7 2024-05-29 22:27:52 -03:00
Alfredo Monclus
6815e9cabc network: improvements in error handling 2024-05-25 23:56:07 -03:00
Alfredo Monclus
fe8b1e9d70 screen: rework panel clear 2024-05-25 17:00:42 -03:00
Alfredo Monclus
524aa0e7dc
drop python 3.7 support (#1271)
* drop python 3.7 support

start using  PEP 572 assignment expressions

Update FAQ

improve how unsupported versions are informed

this should be clearer on why we refuse to continue

* add more asign-expressions
2024-05-24 19:13:19 -03:00
Alfredo Monclus
bdc48d37a8 pins: add pwm_tool 2024-05-23 23:21:24 -03:00
alfrix
7dd62decaf refactor reinit
should fix an issue when the user presses retry before the websocket fully disconnects
2024-05-13 11:55:21 -03:00
alfrix
1afc67b354 panels: simplificate panel sub-menu system 2024-05-12 15:53:45 -03:00
alfrix
ef184ceed3 add system info panel 2024-05-09 11:33:02 -03:00
alfrix
52754a61a8 rework websocket disconnect fixes #1352
used a solution closer to the webscocket-client docs
2024-05-03 22:03:25 -03:00
alfrix
5f70492e98 fixup for connection refactor: do not try to reconnect if on printer_select 2024-05-03 14:32:30 -03:00
alfrix
4c72ade658 screensaver: simplify the timer logic
i've seen some issues with the timing handling this should fix them
2024-05-03 13:44:45 -03:00
alfrix
135e1858a8 websocket: identify the client to moonraker 2024-04-30 14:47:32 -03:00
alfrix
ad2df873d3 refactor printer initialization and connection handling
removes the lag while trying to connect
cleaner code, seems faster
2024-04-30 14:27:14 -03:00
alfrix
81560ca006 refactor: combine printer query items 2024-04-30 06:32:43 -03:00
alfrix
750a7ee0b5 allow 2 different screen timeouts, one while printing the other if not
closes #311
2024-04-27 15:23:57 -03:00
alfrix
b7cbbee4d1 limits: change to minimum cruise ratio 2024-04-02 19:25:16 -03:00
alfrix
6ab0566fe1 error_modal: add wrap mode 2024-03-20 23:24:38 -03:00
alfrix
3ea10b5404 heatergraph: fix sometimes not reinitializing correctly 2024-03-20 22:01:30 -03:00
alfrix
445dda6321 files: move refresh to ready status 2024-03-16 15:47:33 -03:00
alfrix
6a81a90cda screen: different wayland check 2024-03-13 05:26:56 -03:00
Alfredo Monclus
ce884154d6
print panel refactor and new features (#1270)
Adds a grid/thumbnail mode (switchable to the list mode)
last mode used is saved
faster load and less memory usage
add sort by size
2024-02-29 15:07:50 -03:00
Alfredo Monclus
0226ba0d95
screen: accept monitor number param (#1263)
This allows starting fullscreen on a specific display/monitor while in standalone mode
2024-02-19 20:23:02 -03:00
alfrix
3c911ba7c7 printer: change how the tempstore is initialized and updated, to avoid unnecesary retries 2024-01-26 22:43:29 -03:00
alfrix
9d0e4b841f config: allow xdg .config folder fully deprecate old klipper_config and home folder config
config order of preference

1. printer_data/config
2. xdg .config/KlipperScreen
3. klipperscreen repo directory
2024-01-26 13:59:16 -03:00
alfrix
160e2ecd31 wayland: fix icon not showing 2024-01-26 11:32:42 -03:00
Alfredo Monclus
b5e87152f1
bed_level: improvements (#1248)
1. use the status reference instead of regex matching (this was coded before the status existed)
2. change icons to reflect the rotation direction
3. change icon to reflect that the adjustment is good enough (according to klipper docs below 6 minutes)
4. auto open the panel when screws_tilt_calculate finished

close #1231
2024-01-25 22:46:51 -03:00
alfrix
3ed7464145 fix #1245 and add some early returns 2024-01-17 09:30:13 -03:00
alfrix
e402eb41b4 screen: don't inspect statement it's a fallback 2024-01-16 14:41:36 -03:00
alfrix
8717dd8836 files: refactor and cleanups 2024-01-16 13:56:33 -03:00
alfrix
98da293cee refactor job_status and titlebar_items to allow multiple extruders 2024-01-10 23:30:39 -03:00
alfrix
f3c0daef1b minor refactors 2024-01-10 23:30:39 -03:00
alfrix
5ad03b5dd1 prompts: add escape and backspace to close, prevent concurrent prompts, send prompt_end at close 2024-01-03 19:00:40 -03:00
alfrix
8eb70764af increase the timeout of popup warnings
this are generally things that the user needs to read and fix
the popups can always be re-read in the notification panel
2024-01-03 17:00:14 -03:00
alfrix
aa4603af69 start warning about old python 2024-01-03 16:57:37 -03:00
alfrix
91c3f2739f popups: rate limit to every second close #1225 2024-01-03 15:53:01 -03:00
alfrix
08a3d8a798 split printer init for faster response 2024-01-02 23:34:30 -03:00
alfrix
bdc6cf45b1 init: remove redundant api call 2024-01-02 17:01:55 -03:00
alfrix
6cf639c083 refactor widget creation
improves performance and makes the code cleaner

* add parameters instead of calling methods afterwards
* remove a a lot of size requests
* remove parameters that are being set to the default value
* simplify dialogs containers
2024-01-02 08:14:51 -03:00
Alfredo Monclus
1794d8aa24
feat: macro prompts close #1216 (#1219)
* feat: macro prompts close #1216

now the user can have confirmation on macros using this feature close #835

* prompt: remove separator and remove the header and close button if windowed

* prompt: wakeup screen

* prompt: slightly larger close icon
2024-01-02 08:04:02 -03:00
alfrix
cae87fcdf7 init_printer add log messages for stop and early retries 2024-01-02 07:07:51 -03:00
Michael Jäger
48095f857c
Fix fullscreen issue when setting width or height in config for non-desktop machines (#1177)
* Fix fullscreen issue when setting width or height in config for non-desktop machines

Setting width and height in the config should result in a windowed screen, but it is only the case for desktop users.
Fixes https://github.com/KlipperScreen/KlipperScreen/issues/1176 introduced via 8f07f21

* add warnings

---------

Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-11-18 17:04:19 -03:00
alfrix
f9ce5540ea initial notifications panel 2023-11-16 20:30:14 -03:00
alfrix
685adea6e9 logging rollover improvements 2023-11-11 14:02:47 -03:00
alfrix
8f07f2197e Desktop environment users should be out of fullscreen
KS is meant to be standalone, running inside a DE can cause unexpected issues, like dialogs without buttons and other issues
until those issues are fully resolved, it should not be running Fullscreen inside the desktop environment
2023-11-09 06:42:02 -03:00