https://bugs.freedesktop.org/show_bug.cgi?id=69217

--- Comment #1 from Noel Power <[email protected]> ---
(In reply to comment #0)
> Reproduction instructions:
>  soffice --norestore --nologo
>  Menu tools/macros/organize macros/LibreOffice Basic
>  navigate to My Macros / Standard / module 1 / Main (create if you need to)
>  Click on button "Edit"
>  Change some code, DO NOT SAVE
>  Close window
> 
> Expected result:
>  A dialog pops up, warning about unsaved changes, allowing the choose
> between Cancel, Save or Close without saving. Like with documents.
when you close what? the IDE?
Note: when you have modifications to the document ( any modifications not just
to basic ) you can independently close the IDE without getting any nag. However
when closing the document if there are any uncommitted changes you get told
about that, but... that message is really nothing to do with the ide or basic (
more a side affect of the modifications the IDE has made )
What to do regarding changes to application basic is somewhat unclear, if you
have open document(s) ( with modifications ) and you dismiss the ide should you
only mention that there are unsaved 'application/shared/user' macros? should
you ignore document macros? or should you just ignore it entirely ( like it
does now ) Maybe you should defer till you try and shutdown the application (
because with the document behaviour you can open/close the IDE while the
document is opened and your modified but as yet unsaved basic is available?
> 
> Actual result:
>  Changes are silently saved
Well that seems plain wrong, I would expect the changes to be missing if the
application is exited without saving. However ( my own expectation ) is that
prior to exiting any changes made in basic are available ( even if the IDE is
opened/closed ) and regardless of whether the save button has been pressed

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to