TabularEditor3 icon indicating copy to clipboard operation
TabularEditor3 copied to clipboard

Default View in 3.2.1 isn't always in effect

Open edhans opened this issue 3 years ago • 6 comments

I like my right hand pane wider than the default install, so made it so, and saved it as Default (over the existing default view). It is random, but sometimes when I open T/E, it is using the T/E install default (narrower pane) vs the Default layout. Selecting Window/Default Layout fixes it. Sometimes it opens fine.

I always open T/E from the PBID External menu.

edhans avatar Feb 04 '22 15:02 edhans

Looking into this. Thanks!

otykier avatar Feb 07 '22 12:02 otykier

Hi @edhans I'm not able to reproduce this. Could you send me your Layout.json file from your %localappdata%\TabularEditor3 folder? Thanks!

otykier avatar Feb 09 '22 14:02 otykier

Layouts.zip

Hopefully this helps. Had to zip it as JSON wasn't an allowed format.

edhans avatar Feb 09 '22 15:02 edhans

here is a screen cap. I got it to repro today. It seems a good way to break it is to reboot, though it does happen other times. What I do:

  1. Launch TE/3. Shows too-narrow side pane.
  2. Close TE/3
  3. Launch again, still too narrow, but now select Window, Default Layout. Looks good.
  4. Close TE/3
  5. Launch again. Good layout survives.

Default Layout not used always

edhans avatar Feb 11 '22 19:02 edhans

Hang on, I think there's a small misunderstanding here:

From your video, it looks like you expect TE3 to restore the "Default layout" automatically upon every application launch. That is not how it works. TE3 saves the exact layout you have when you close the application. Next time you launch the tool, the exact same layout should be restored.

So in other words, if you choose "Default layout" from the "Window" menu, and modify it slightly, you should see your modifications upon next launch, even when you didn't explicitly capture the layout. Essentially, there is this hidden "Custom" layout, which is simply the state of all the windows, toolbars, etc., at the time the application was last shut down, which is automatically restored upon next launch.

otykier avatar Feb 11 '22 19:02 otykier

Ok, I'd be ok with that, but after I rebooted, it reverted back to the default width (layout) that is there for the install. So at some point it forgets its last saved state.

But If I select Window, Default Layout, it goes back to what I want, and remains that way for many sessions, until it forgets again.

edhans avatar Feb 11 '22 21:02 edhans