Hi Brian, you are right, this issue is not fixed yet.
Hotfix information published by IDM for UE v21.20.0.1009 (next public release after v21.20.0.1004) contained the line
- Addressed issues with workspace when reloading a project
But this issue is still not fixed even in currently latest public version 21.30.0.1016 (and private user verification build 21.30.0.1019 which I use at the moment).
I needed more than 90 minutes to find out the real reason and how to workaround it.
The current state for active files is saved into
ProjectName.pui correct on closing a project/workspace. The entry is
Active File Display Mode= in section
[Open Files] which can have following values:
- -1 ... window state could not be defined on closing project/workspace because no active document window.
- 1 ... window state for the active document window is normal on closing project/workspace.
- 2 ... window state for the active document window is minimized on closing project/workspace.
- 3 ... window state for the active document window is maximized on closing project/workspace.
But UltraEdit does not load this information from
ProjectName.pui on loading a project/workspace. Instead UltraEdit applies always the window state according to
Active File Display Mode= in section
[Open Files] in file
uedit32.ini which stores the window state for active file on closing UltraEdit and no project/workspace is currently loaded.
So to avoid getting the reloaded files of a project/workspace reloaded in maximized state, it is necessary to get either value
1 or value
-1 written into
uedit32.ini for
Active File Display Mode= in section
[Open Files].
This can be done as follows:
- The setting Reload files previously open on startup must be enabled at Advanced - Configuration - File Handling - Load.
Otherwise Active File Display Mode= is not updated in uedit32.ini on exiting UltraEdit as no need to do it.
- The currently loaded project/workspace must be closed (with active window being in normal state).
- If there is no document window opened anymore, fine. Exit UltraEdit and value -1 is written into uedit32.ini for Active File Display Mode=.
Otherwise set window state for active file to normal, or close all opened files, open a new file with Ctrl+N and set it's window to normal state. Exit UltraEdit and value 1 is written into uedit32.ini for Active File Display Mode=.
- Restart UltraEdit and open project/workspace and the document windows are opened in normal state.
It does not matter if open file tabs bar is not visible at all, automatically hidden at the moment, or permanently visible.