Apache OpenOffice (AOO) Bugzilla – Issue 122332
[sidebar] Wrong context after focusing other application window
Last modified: 2022-10-28 12:54:32 UTC
How to reproduce: 1. Create Writer document 2. Create Impress document 2a. Create shape with text 2b. Put shape in text edit mode 3. Move focus to Writer document - by Alt-Tab on Windows - or by clicking on the Writer window. After that the sidebar in the Impress window shows the layout property panel. 4. Move focus back to Impress document The Impress sidebar still shows the layout property panel, even though the text is still in edit more. Expected result: the Impress sidebar should show the panels for text editing: Text, Paragraph, Area, Line, Position and Size.
"af" committed SVN revision 1486578 into trunk: 122332: Don't change sidebar context when switching to other application window.
The bug was caused by using SfxShell::Activate() and Deactivate() to notify context changes. Deactivate() is called when an application window looses focus. Reworked the context notification in sd and sc to fix this.