Skip to content

[4448] fix: allow style switching back to Beamer without saving. - #4452

Open
adi-coderr wants to merge 1 commit into
MoganLab:mainfrom
adi-coderr:fix-beamer-style-switch
Open

[4448] fix: allow style switching back to Beamer without saving.#4452
adi-coderr wants to merge 1 commit into
MoganLab:mainfrom
adi-coderr:fix-beamer-style-switch

Conversation

@adi-coderr

Copy link
Copy Markdown

Summary

Fixes a bug where switching a document's style from Beamer to another style (e.g., Source), and then immediately back to Beamer without saving, resulted in an "operation not allowed" block.

Changes Made

  • Modified TeXmacs/progs/generic/document-style.scm to safely handle the Beamer style transition state.
  • Updated TeXmacs/progs/generic/test/generic-test.scm to include an automated regression test for this specific workflow.

Verification

  • Manually verified in the Mogan GUI that the style switches smoothly without errors.
  • Automated Scheme tests pass locally.
Screen.Recording.2026-08-30.at.10.36.31.PM.mov

@adi-coderr

Copy link
Copy Markdown
Author

fixes ##4448

@adi-coderr adi-coderr changed the title fix: allow style switching back to Beamer without saving [4448] fix: allow style switching back to Beamer without saving. Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant