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 Create New Page/Layer is broken #5

Closed
wbrenna opened this issue Aug 20, 2013 · 1 comment
Closed

Undo Create New Page/Layer is broken #5

wbrenna opened this issue Aug 20, 2013 · 1 comment
Labels

Comments

@wbrenna
Copy link
Contributor

wbrenna commented Aug 20, 2013

To reproduce just create a new page and try to undo that operation. Xournalpp freezes without a stacktrace.

@wbrenna
Copy link
Contributor Author

wbrenna commented Aug 23, 2013

This bug is a bit of a rabbit hole. From what I believe, it's due to a double-locking of the document that appears deep in functions that update the number of pages in the sidebar and in the window. I was able to get this undo working by removing these nested doc->lock() commands, but that's not a solution so I'll keep working at it. Somewhere near InsertDeletePage there might be a doc->lock() that needs to be safely disposed or at least, terminated early.

@wbrenna wbrenna closed this as completed Aug 24, 2013
andreasb242 pushed a commit that referenced this issue Apr 21, 2015
Added new autoconf boost script (and removed old ones), removed unused m4 files.
Febbe added a commit to Febbe/xournalpp that referenced this issue Jan 7, 2020
@yasmah74 yasmah74 mentioned this issue May 18, 2023
@Fefeffefe Fefeffefe mentioned this issue Jun 21, 2023
@Samanbaia Samanbaia mentioned this issue Jul 22, 2023
@rschram rschram mentioned this issue Oct 26, 2023
@dh2pp dh2pp mentioned this issue Jan 17, 2024
@majorace majorace mentioned this issue Apr 9, 2024
@01-1 01-1 mentioned this issue Apr 20, 2024
@IlyaSulli IlyaSulli mentioned this issue May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant