You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Synfig version & platform:
(we're more likely to help if you're using latest development builds)
Latest normal build Issue description:
Minimizing the window and then closing it causes the app to never get maximized. This includes when it takes time to build and if we minimize it, it seems to crash sometimes and then never gets maximized. Opening the app causes it to be minimized. Uninstalling and reinstalling doesn't seem to work. OS so far used and tried on
Windows Success rate of triggering this issue
One hundred percent so far.
Thank you for reporting!
A possible workaround is to erase (or manually edit) the synfig preferences file (settings-1.4).
I'm not sure the exact path on windows, but if you're using portable version, the folder is named "config".
@rodolforg I think yes. At least we need window size to correctly restore workspace.
Also it just convenient. No need to move the window to your preferred location every time.
As I see this is Windows-related problem. When you minimize window it just moves it to -30000, -30000 position.
on read, if left+width < 0, set at (0,y)
0n read, if top+height > screen height, set at (x,0)
I'm not sure if this is required. As for me, if you can see the upper left corner of the window - this gives you the ability to resize the window and this will be enough.
I'm not sure if this is required. As for me, if you can see the upper left corner of the window - this gives you the ability to resize the window and this will be enough.
My logic was to check if windows is hidden on startup (moved away so it can't be seen in screen).
In second thought, :
I didn't propose a check if left > screen width (and in a similar way, the vertical direction)
I don't know how it behaves when user more than one screen :P
Activity
rodolforg commentedon Nov 25, 2020
Thank you for reporting!
A possible workaround is to erase (or manually edit) the synfig preferences file (
settings-1.4).I'm not sure the exact path on windows, but if you're using portable version, the folder is named "config".
VaibhavDS19 commentedon Nov 25, 2020
Thank you for replying so fast. Yes, the workaround seems to work perfectly.
VaibhavDS19 commentedon Nov 25, 2020
Idea of how it might happen?
rodolforg commentedon Nov 25, 2020
Synfig saves the window position and size on closing. But it seems that it doesn't check if it was minimized or something like that.
VaibhavDS19 commentedon Nov 25, 2020
ok, thank you very much for replying.
rodolforg commentedon Nov 25, 2020
It must be fixed :)
rodolforg commentedon Nov 26, 2020
@ice0 @morevnaproject do we really need to save main window position and size? :P
Gtk has some explanations against it: https://developer.gnome.org/gtk3/stable/GtkWindow.html#gtk-window-get-position (last paragraph of this method)
ice0 commentedon Nov 27, 2020
@rodolforg I think yes. At least we need window size to correctly restore workspace.
Also it just convenient. No need to move the window to your preferred location every time.
As I see this is Windows-related problem. When you minimize window it just moves it to -30000, -30000 position.
rodolforg commentedon Nov 28, 2020
Is size kept "correctly" (same value before being minimized)?
If I'm not crazy I saw other reports about 'invisible' Synfig when user has two screens then open it later with only one.
rodolforg commentedon Nov 28, 2020
Anyway, here is the code point to work on:
synfig/synfig-studio/src/gui/docks/dockmanager.cpp
Lines 584 to 592 in bbb2dd7
ice0 commentedon Nov 28, 2020
For Windows 10 - yes, Windows 7 - not tested.
rodolforg commentedon Dec 19, 2020
Ok. What about this:
ice0 commentedon Dec 20, 2020
Looks like -100 will be enough.
I'm not sure if this is required. As for me, if you can see the upper left corner of the window - this gives you the ability to resize the window and this will be enough.
rodolforg commentedon Dec 20, 2020
But maybe user moved it that way?
My logic was to check if windows is hidden on startup (moved away so it can't be seen in screen).
In second thought, :
[Synfig Studio] fix mainwindow not showing when is offscreen
[Synfig Studio] fix mainwindow not showing when is offscreen
[Synfig Studio] fix mainwindow not showing when is offscreen (#1973)
[Synfig Studio] fix mainwindow not showing when is offscreen (synfig#…
[Synfig Studio] fix mainwindow not showing when is offscreen (#1973)
rodolforg commentedon May 9, 2021
This issue is fixed in v1.4.1.
ice0 commentedon May 10, 2021
Just checked, all works fine now.
[Synfig Studio] fix mainwindow not showing when is offscreen (synfig#…
[Synfig Studio] fix mainwindow not showing when is offscreen (synfig#…