385 Commits

Author SHA1 Message Date
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
alfrix
1f5bfb371f Revert "screen: detect Desktop environment"
This reverts commit d5ec79e2efebf50b7e7e71e7656cde33ca8019be.
2023-11-01 16:45:29 -03:00
alfrix
c4e6aaf734 locales: update translation files 2023-10-21 20:33:33 -03:00
alfrix
d5ec79e2ef screen: detect Desktop environment 2023-10-20 00:06:34 -03:00
alfrix
880a9fc3ab remove debug error 2023-10-13 23:52:57 -03:00
alfrix
6f32cdacbe layout: fix issues 2023-10-13 23:24:03 -03:00
alfrix
ff84b1aa97 docs: clarify that the fix is for raspberry 2023-10-13 23:22:55 -03:00
alfrix
adc59f7df1 change solarized warning to orange 2023-09-25 08:31:47 -03:00
alfrix
70c62ca6b6 add moonraker warnings 2023-09-25 08:22:05 -03:00
Vasilyev_Andrey
87d09036ee
Led light control, close #991 (#1106)
* feature: add leds panel

* Various refactors and improvements

* lint fixes

* led: use more columns for the selector

* leds: name in the title

* mainsail presets

* change sliders to horizontal to avoid visual bug, simplify defaults

* led: add a color preview and simplify methods to fix some issues

* simplify presets move all the logic to the panel

* led: change presets from names to previews

* preview label shows color, add vertical mode

* led: colored previews as rectangles instead of circles

---------

Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-09-24 17:44:29 -03:00
alfrix
584e4fe902 popups: do not auto-close on menu back and do auto-close on screensaver trigger 2023-09-21 16:55:48 -03:00
alfrix
ad3255b16a screen: dialogs should call fullscreen too for for use inside DEs 2023-09-16 13:45:44 -03:00
alfrix
cfb38405c6 screen: exception info now includes a traceback 2023-09-12 12:28:33 -03:00
alfrix
79f4b45713 locales: dialog change continue to accept
this is also used as test for weblate
2023-09-12 08:18:09 -03:00
alfrix
40365346b4 printer_init: dump config to help debug issues 2023-09-10 18:31:30 -03:00
alfrix
ed7f266735 screen: revert preload, as it may cause unexpected issues 2023-09-10 18:31:30 -03:00
alfrix
e5d1ff0270 fix option for not opening extrude 2023-09-04 22:16:52 -03:00
alfrix
2a842839ea make extrude panel on pause optional
close #1113
2023-09-04 22:06:14 -03:00
alfrix
ed0dbaea9e screen: fix typo in error message fixes #1110 2023-09-03 22:49:57 -03:00
alfrix
e2068cf2c9 dialogs: remove steppers since they cause issues 2023-09-03 22:39:29 -03:00
alfrix
6ada62730c screen: fix screensaver shows even when disabled when not using dpms 2023-09-03 13:35:47 -03:00
alfrix
a6866e8a0f pause will auto-open extrude
most (maybe all pauses) are done for filament swaps this should make it quicker
2023-09-01 12:23:41 -03:00