Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undo Clears Slide #292

Open
Lazaro10e0 opened this issue Jun 8, 2023 · 4 comments
Open

Undo Clears Slide #292

Lazaro10e0 opened this issue Jun 8, 2023 · 4 comments

Comments

@Lazaro10e0
Copy link

Describe the bug
Sometimes when I do Ctrl+Z it clears the whole slide.

To Reproduce
I don't know when it happens, just that sometimes the Undo works fine and sometimes it clears the whole slide...

Expected behavior
Only one undo.

Environment (please complete the following information):

  • OS: W10
  • Python version: Python 3.10.11
  • Pympress version: 1.8.3b
  • Installation method: MSI file
@Cimbali
Copy link
Owner

Cimbali commented Jun 8, 2023

Is there anything in the log file? It should be in %LOCALAPPDATA%\pympress.log (usually C:\Users\<username>\AppData\pympress.log)

@Lazaro10e0
Copy link
Author

Lazaro10e0 commented Jun 22, 2023

undo_clears_slide.txt
I attach the log file.
Is the last thing that happened. It happened, I closed the app and got the log.

@Cimbali
Copy link
Owner

Cimbali commented Jun 22, 2023

Thanks! This is the bit corresponding to the last execution:

INFO:pympress.app:Pympress: 1.8.3b ; Python: 3.10.11 ; OS: Windows 10 10.0.19045 ; Gtk 3.24.38 ; GLib 2.76.1 ; Poppler 23.03.0 cairo ; Cairo 1.17.8 , pycairo 1.23.0
INFO:pympress.extras:Media support: GdkPixbuf gif player, GStreamer not available, VLC not available
WARNING:pympress.ui:Gtk.Application.inhibit failed preventing screensaver, trying hard disabling
CRITICAL:__main__:Uncaught exception:
Traceback (most recent call last):
  File "D:/a/pympress/pympress/pympress/app.py", line 242, in do_shutdown
  File "D:/a/pympress/pympress/pympress/ui.py", line 727, in cleanup
  File "D:/a/pympress/pympress/pympress/scribble.py", line 775, in disable_scribbling
AttributeError: 'NoneType' object has no attribute 'set_event_compression'

Unfortunately the error reported is during the exit -- there is no error message from the undo.

@Cimbali
Copy link
Owner

Cimbali commented Jun 22, 2023

Can you click undo further? What happens if you try to redo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants