Maximized state is not restored for Joplin
Affected version
- Arch Linux
- Kernel 6.4.12
- Wayland 1.22.0
- Gnome-shell 1:44.4
- Mutter 44.4
- xorg-xwayland 23.2.0
Bug summary
After updating to Gnome 44.1 from 43.5, Joplin is not visible when started up after closing it when it was maximized. Issue should have been fixed in Gnome 44.4 (see #2579 (closed)) but it's still visible.
Steps to reproduce
- install Joplin. The easiest way is to use the AppImage here
- start it up
- close it in maximized state
- start it up
- app starts but the GUI doesn't show up
- close it
- start it up. App now shows up but it's not maximized
- whenever you close the app when it's not maximized, it starts up correctly
What happened
App is not visible after its closed when it was maximised. When closed and started again, it's visible but not maximised.
What did you expect to happen
Apps should always be visible when started up. Moreover, their maximised status should be restored.
Relevant logs, screenshots, screencasts etc.
I use Wayland and app is running in XWayland:
$ xwininfo
xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.
xwininfo: Window id: 0x600003 "Joplin"
Absolute upper-left X: 4669
Absolute upper-left Y: 71
Relative upper-left X: 14
Relative upper-left Y: 49
Width: 1536
Height: 1009
Depth: 24
Visual: 0x4a
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x49 (installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +4669+71 -155+71 -155-600 +4669-600
-geometry 1536x1009+4655+22
This stack trace appears when I start the app after it's been closed when maximised and it's not visible (step 5):
Aug 25 19:03:01 matebook joplin.desktop[4783]: xdg-settings: invalid application name
Aug 25 19:03:01 matebook joplin.desktop[4783]: Try 'xdg-settings --help' for more information.
Aug 25 19:03:02 matebook joplin.desktop[4798]: [4798:0825/190302.835355:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
Aug 25 19:03:02 matebook joplin.desktop[4798]: [4798:0825/190302.852285:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
This stack trace appears when I afterwards close it by pressing right click close on the dock (step 6):
Aug 25 19:04:51 matebook gnome-shell[1198]: Object .Gjs_ui_workspaceThumbnail_ThumbnailsBox (0x556757066910), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Aug 25 19:04:51 matebook gnome-shell[1198]: == Stack trace for context 0x556754e39660 ==
Aug 25 19:04:51 matebook gnome-shell[1198]: #0 7fff408a04b0 b resource:///org/gnome/shell/ui/workspacesView.js:639 (20bdca926f60 @ 33)
Aug 25 19:04:51 matebook gnome-shell[1198]: #1 7fff408a0600 b resource:///org/gnome/shell/ui/workspacesView.js:686 (20bdca927060 @ 467)
Aug 25 19:04:51 matebook gnome-shell[1198]: #2 5567561b9548 i resource:///org/gnome/shell/ui/workspace.js:854 (1761f95ba5b0 @ 369)
Aug 25 19:04:51 matebook gnome-shell[1198]: #3 5567561b94c0 i resource:///org/gnome/shell/ui/workspace.js:805 (1761f95ba510 @ 17)
Aug 25 19:04:51 matebook gnome-shell[1198]: #4 5567561b9428 i resource:///org/gnome/shell/ui/workspacesView.js:1007 (20bdca927a10 @ 124)
Aug 25 19:04:51 matebook gnome-shell[1198]: #5 5567561b9398 i resource:///org/gnome/shell/ui/overviewControls.js:720 (1761f9585a10 @ 50)
Aug 25 19:04:51 matebook gnome-shell[1198]: #6 5567561b9310 i resource:///org/gnome/shell/ui/layout.js:366 (3ca61b9cc6f0 @ 22)
Aug 25 19:04:51 matebook gnome-shell[1198]: #7 5567561b9280 i resource:///org/gnome/shell/ui/overview.js:642 (1761f9582830 @ 175)
Aug 25 19:04:51 matebook gnome-shell[1198]: #8 5567561b9200 i resource:///org/gnome/shell/ui/overview.js:625 (1761f95827e0 @ 12)
Aug 25 19:04:51 matebook gnome-shell[1198]: #9 5567561b9180 i resource:///org/gnome/shell/ui/overviewControls.js:771 (1761f9585c40 @ 55)
Aug 25 19:04:51 matebook gnome-shell[1198]: #10 7fff408a6e60 b resource:///org/gnome/shell/ui/environment.js:151 (3ca61b97c4c0 @ 39)
Aug 25 19:04:51 matebook gnome-shell[1198]: #11 5567561b90f8 i resource:///org/gnome/shell/ui/environment.js:317 (3ca61b97c9c0 @ 14)
Aug 25 19:04:51 matebook gnome-shell[1198]: == Stack trace for context 0x556754e39660 ==
Aug 25 19:04:51 matebook gnome-shell[1198]: #0 7fff408a0600 b resource:///org/gnome/shell/ui/workspacesView.js:688 (20bdca927060 @ 484)
Aug 25 19:04:51 matebook gnome-shell[1198]: #1 5567561b9548 i resource:///org/gnome/shell/ui/workspace.js:854 (1761f95ba5b0 @ 369)
Aug 25 19:04:51 matebook gnome-shell[1198]: #2 5567561b94c0 i resource:///org/gnome/shell/ui/workspace.js:805 (1761f95ba510 @ 17)
Aug 25 19:04:51 matebook gnome-shell[1198]: #3 5567561b9428 i resource:///org/gnome/shell/ui/workspacesView.js:1007 (20bdca927a10 @ 124)
Aug 25 19:04:51 matebook gnome-shell[1198]: #4 5567561b9398 i resource:///org/gnome/shell/ui/overviewControls.js:720 (1761f9585a10 @ 50)
Aug 25 19:04:51 matebook gnome-shell[1198]: #5 5567561b9310 i resource:///org/gnome/shell/ui/layout.js:366 (3ca61b9cc6f0 @ 22)
Aug 25 19:04:51 matebook gnome-shell[1198]: #6 5567561b9280 i resource:///org/gnome/shell/ui/overview.js:642 (1761f9582830 @ 175)
Aug 25 19:04:51 matebook gnome-shell[1198]: #7 5567561b9200 i resource:///org/gnome/shell/ui/overview.js:625 (1761f95827e0 @ 12)
Aug 25 19:04:51 matebook gnome-shell[1198]: #8 5567561b9180 i resource:///org/gnome/shell/ui/overviewControls.js:771 (1761f9585c40 @ 55)
Aug 25 19:04:51 matebook gnome-shell[1198]: Object .Gjs_ui_workspaceThumbnail_ThumbnailsBox (0x556757066910), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Aug 25 19:04:51 matebook gnome-shell[1198]: #9 7fff408a6e60 b resource:///org/gnome/shell/ui/environment.js:151 (3ca61b97c4c0 @ 39)
Aug 25 19:04:51 matebook gnome-shell[1198]: #10 5567561b90f8 i resource:///org/gnome/shell/ui/environment.js:317 (3ca61b97c9c0 @ 14)
Aug 25 19:04:51 matebook gnome-shell[1198]: JS ERROR: TypeError: windowInfo is undefined
vfunc_allocate@resource:///org/gnome/shell/ui/workspace.js:705:17
vfunc_allocate@resource:///org/gnome/shell/ui/workspacesView.js:555:25
vfunc_allocate@resource:///org/gnome/shell/ui/workspacesView.js:711:30
removeWindow@resource:///org/gnome/shell/ui/workspace.js:854:29
addWindow/<.destroyId<@resource:///org/gnome/shell/ui/workspace.js:805:22
vfunc_hide@resource:///org/gnome/shell/ui/workspacesView.js:1007:38
vfunc_unmap@resource:///org/gnome/shell/ui/overviewControls.js:720:38
hideOverview@resource:///org/gnome/shell/ui/layout.js:366:28
_hideDone@resource:///org/gnome/shell/ui/overview.js:642:32
_animateNotVisible/<@resource:///org/gnome/shell/ui/overview.js:625:55
onStopped@resource:///org/gnome/shell/ui/overviewControls.js:771:21
_makeEaseCallback/<@resource:///org/gnome/shell/ui/environment.js:151:22
_easeActorProperty/<@resource:///org/gnome/shell/ui/environment.js:317:60
Aug 25 19:07:14 matebook gnome-shell[1198]: Object .Gjs_ui_workspaceThumbnail_ThumbnailsBox (0x5567562e5e30), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Aug 25 19:07:14 matebook gnome-shell[1198]: == Stack trace for context 0x556754e39660 ==
Aug 25 19:07:14 matebook gnome-shell[1198]: #0 7fff408a0590 b resource:///org/gnome/shell/ui/workspacesView.js:639 (20bdca926f60 @ 33)
Aug 25 19:07:14 matebook gnome-shell[1198]: #1 7fff408a06e0 b resource:///org/gnome/shell/ui/workspacesView.js:686 (20bdca927060 @ 467)
Aug 25 19:07:14 matebook gnome-shell[1198]: #2 556755f22750 i resource:///org/gnome/shell/ui/workspace.js:854 (1761f95ba5b0 @ 369)
Aug 25 19:07:14 matebook gnome-shell[1198]: #3 556755f226c8 i resource:///org/gnome/shell/ui/workspace.js:805 (1761f95ba510 @ 17)
Aug 25 19:07:14 matebook gnome-shell[1198]: #4 7fff408a40b0 b resource:///org/gnome/shell/ui/workspacesView.js:1007 (20bdca927a10 @ 124)
Aug 25 19:07:14 matebook gnome-shell[1198]: #5 556755f22638 i resource:///org/gnome/shell/ui/overviewControls.js:720 (1761f9585a10 @ 50)
Aug 25 19:07:14 matebook gnome-shell[1198]: #6 556755f225b0 i resource:///org/gnome/shell/ui/layout.js:366 (3ca61b9cc6f0 @ 22)
Aug 25 19:07:14 matebook gnome-shell[1198]: #7 556755f22520 i resource:///org/gnome/shell/ui/overview.js:642 (1761f9582830 @ 175)
Aug 25 19:07:14 matebook gnome-shell[1198]: #8 556755f224a0 i resource:///org/gnome/shell/ui/overview.js:625 (1761f95827e0 @ 12)
Aug 25 19:07:14 matebook gnome-shell[1198]: #9 556755f22420 i resource:///org/gnome/shell/ui/overviewControls.js:771 (1761f9585c40 @ 55)
Aug 25 19:07:14 matebook gnome-shell[1198]: #10 7fff408a6e60 b resource:///org/gnome/shell/ui/environment.js:151 (3ca61b97c4c0 @ 39)
Aug 25 19:07:14 matebook gnome-shell[1198]: #11 556755f22398 i resource:///org/gnome/shell/ui/environment.js:317 (3ca61b97c9c0 @ 14)
Aug 25 19:07:14 matebook gnome-shell[1198]: == Stack trace for context 0x556754e39660 ==
Aug 25 19:07:14 matebook gnome-shell[1198]: #0 7fff408a06e0 b resource:///org/gnome/shell/ui/workspacesView.js:688 (20bdca927060 @ 484)
Aug 25 19:07:14 matebook gnome-shell[1198]: #1 556755f22750 i resource:///org/gnome/shell/ui/workspace.js:854 (1761f95ba5b0 @ 369)
Aug 25 19:07:14 matebook gnome-shell[1198]: #2 556755f226c8 i resource:///org/gnome/shell/ui/workspace.js:805 (1761f95ba510 @ 17)
Aug 25 19:07:14 matebook gnome-shell[1198]: #3 7fff408a40b0 b resource:///org/gnome/shell/ui/workspacesView.js:1007 (20bdca927a10 @ 124)
Aug 25 19:07:14 matebook gnome-shell[1198]: #4 556755f22638 i resource:///org/gnome/shell/ui/overviewControls.js:720 (1761f9585a10 @ 50)
Aug 25 19:07:14 matebook gnome-shell[1198]: #5 556755f225b0 i resource:///org/gnome/shell/ui/layout.js:366 (3ca61b9cc6f0 @ 22)
Aug 25 19:07:14 matebook gnome-shell[1198]: #6 556755f22520 i resource:///org/gnome/shell/ui/overview.js:642 (1761f9582830 @ 175)
Aug 25 19:07:14 matebook gnome-shell[1198]: #7 556755f224a0 i resource:///org/gnome/shell/ui/overview.js:625 (1761f95827e0 @ 12)
Aug 25 19:07:14 matebook gnome-shell[1198]: Object .Gjs_ui_workspaceThumbnail_ThumbnailsBox (0x5567562e5e30), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Aug 25 19:07:14 matebook gnome-shell[1198]: #8 556755f22420 i resource:///org/gnome/shell/ui/overviewControls.js:771 (1761f9585c40 @ 55)
Aug 25 19:07:14 matebook gnome-shell[1198]: #9 7fff408a6e60 b resource:///org/gnome/shell/ui/environment.js:151 (3ca61b97c4c0 @ 39)
Aug 25 19:07:14 matebook gnome-shell[1198]: #10 556755f22398 i resource:///org/gnome/shell/ui/environment.js:317 (3ca61b97c9c0 @ 14)
Aug 25 19:07:14 matebook gnome-shell[1198]: JS ERROR: TypeError: windowInfo is undefined
vfunc_allocate@resource:///org/gnome/shell/ui/workspace.js:705:17
vfunc_allocate@resource:///org/gnome/shell/ui/workspacesView.js:555:25
vfunc_allocate@resource:///org/gnome/shell/ui/workspacesView.js:711:30
removeWindow@resource:///org/gnome/shell/ui/workspace.js:854:29
addWindow/<.destroyId<@resource:///org/gnome/shell/ui/workspace.js:805:22
vfunc_hide@resource:///org/gnome/shell/ui/workspacesView.js:1007:38
vfunc_unmap@resource:///org/gnome/shell/ui/overviewControls.js:720:38
hideOverview@resource:///org/gnome/shell/ui/layout.js:366:28
_hideDone@resource:///org/gnome/shell/ui/overview.js:642:32
_animateNotVisible/<@resource:///org/gnome/shell/ui/overview.js:625:55
onStopped@resource:///org/gnome/shell/ui/overviewControls.js:771:21
_makeEaseCallback/<@resource:///org/gnome/shell/ui/environment.js:151:22
_easeActorProperty/<@resource:///org/gnome/shell/ui/environment.js:317:60
Edited by Michele