{"id":6377,"date":"2020-08-28T20:06:35","date_gmt":"2020-08-28T17:06:35","guid":{"rendered":"http:\/\/mummila.net\/kommentit\/?p=6377"},"modified":"2020-08-28T20:06:35","modified_gmt":"2020-08-28T17:06:35","slug":"cant-open-main-dialog","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2020\/08\/28\/cant-open-main-dialog\/","title":{"rendered":"Can&#8217;t open main dialog"},"content":{"rendered":"<h3>Expected behaviour<\/h3>\n<p>Selecting &#8221;open main dialog&#8221; from the client menu brings up the main dialog.<\/p>\n<h3>Actual behaviour<\/h3>\n<p>Selecting &#8221;open main dialog&#8221; from the client menu either does not bring up the main dialog, or brings it up only to have it disappear almost immediately. The location of the main dialog, when it does pop up, also seems random: sometimes it pops up in the top left corner of the scereen, sometimes at the center of the screen, sometimes right where the tray menu is.<\/p>\n<p>If I&#8217;m quick enough to bring the mouse cursor over the main dialog when it pops up, the window seems to stay, until I take the cursor out of it, at which point the window disappears.<\/p>\n<p>The settings window does still open as normal when selected, and works without issues.<\/p>\n<h3>Steps to reproduce<\/h3>\n<ol>\n<li>Select &#8221;open main dialog&#8221; from the client (&#8221;tray&#8221;) menu<\/li>\n<\/ol>\n<h3>Client configuration<\/h3>\n<p><strong>Client version:<\/strong>\u00a03.0.0-20200821.171045.ff175088a-1.0~focal1<\/p>\n<p><strong>Operating system:<\/strong>\u00a0Ubuntu 20.04, Wayland<\/p>\n<p><strong>OS language:<\/strong>\u00a0Finnish<\/p>\n<p><strong>Qt version used by client package (Linux only, see also Settings dialog):<\/strong>\u00a0Don&#8217;t know where to find that. The settings dialog only says &#8221;Version 3.0.0 (Ubuntu)&#8221; AFAICT.<\/p>\n<p><strong>Client package (From Nextcloud or distro) (Linux only):<\/strong>\u00a0Don&#8217;t understand the question.<\/p>\n<p><strong>Installation path of client:<\/strong>\u00a0\/usr\/bin\/nextcloud<\/p>\n<h3>Logs<\/h3>\n<p>The client debug log from the time of trying to open the main dialog shows this:<\/p>\n<pre><code>2020-08-28 19:50:04:856 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowReferencePoint ]:  screenRect: QRect(0,0 2560x1440)\r\n2020-08-28 19:50:04:856 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowReferencePoint ]:  taskbarRect: QRect(0,0 2560x32)\r\n2020-08-28 19:50:04:856 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowReferencePoint ]:  taskbarScreenEdge: OCC::Systray::TaskBarPosition::Top\r\n2020-08-28 19:50:04:856 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowReferencePoint ]:  trayIconCenter: QPoint(73,507)\r\n2020-08-28 19:50:04:856 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowPosition ]:        taskbarScreenEdge: OCC::Systray::TaskBarPosition::Top\r\n2020-08-28 19:50:04:856 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowPosition ]:        screenRect: QRect(0,0 2560x1440)\r\n2020-08-28 19:50:04:856 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowPosition ]:        windowRect (reference) QRect(-127,36 401x511)\r\n2020-08-28 19:50:04:856 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowPosition ]:        windowRect (adjusted ) QRect(4,36 401x511)\r\n2020-08-28 19:50:04:859 [ warning default ]:    qrc:\/qml\/src\/gui\/tray\/UserLine.qml:46: TypeError: Type error\r\n2020-08-28 19:50:04:861 [ warning default ]:    qrc:\/qml\/src\/gui\/tray\/UserLine.qml:46: TypeError: Type error\r\n2020-08-28 19:50:04:863 [ warning default ]:    qrc:\/qml\/src\/gui\/tray\/UserLine.qml:46: TypeError: Type error\r\n2020-08-28 19:50:04:865 [ warning default ]:    qrc:\/qml\/src\/gui\/tray\/UserLine.qml:46: TypeError: Type error\r\n2020-08-28 19:50:04:868 [ info nextcloud.sync.accessmanager ]:  2 \"\" \"https:\/\/(MY SERVER URL)\/ocs\/v2.php\/apps\/notifications\/api\/v2\/notifications?format=json\" has X-Request-ID \"b0e242bb-588d-455f-a53d-066d8d0b9f42\"\r\n2020-08-28 19:50:04:868 [ debug nextcloud.sync.cookiejar ]      [ OCC::CookieJar::cookiesForUrl ]:      (REDACTED)\r\n2020-08-28 19:50:04:869 [ info nextcloud.sync.networkjob ]:     OCC::JsonApiJob created for \"https:\/\/(MY SERVER URL)\" + \"ocs\/v2.php\/apps\/notifications\/api\/v2\/notifications\" \"OCC::ServerNotificationHandler\"\r\n2020-08-28 19:50:04:886 [ warning default ]:    qrc:\/qml\/src\/gui\/tray\/Window.qml:473:17: QML MouseArea: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.\r\n2020-08-28 19:50:04:886 [ warning default ]:    qrc:\/qml\/src\/gui\/tray\/Window.qml:496:17: QML Image: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.\r\n2020-08-28 19:50:04:886 [ warning default ]:    qrc:\/qml\/src\/gui\/tray\/Window.qml:510:17: QML Column: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.\r\n2020-08-28 19:50:04:886 [ warning default ]:    qrc:\/qml\/src\/gui\/tray\/Window.qml:547:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.\r\n2020-08-28 19:50:04:886 [ warning default ]:    qrc:\/qml\/src\/gui\/tray\/Window.qml:487: ReferenceError: hovered is not defined\r\n<\/code><\/pre>\n<p>Meanwhile, in syslog from the time:<\/p>\n<pre><code>Aug 28 19:50:04 saegusa gnome-shell[4105]: Window manager warning: Invalid WM_TRANSIENT_FOR window 0x4200016 specified for 0x4200014.\r\nAug 28 19:50:31 saegusa gnome-shell[4105]: Window manager warning: Invalid WM_TRANSIENT_FOR window 0x4200016 specified for 0x4200014.\r\nAug 28 19:50:35 saegusa gnome-shell[4105]: Window manager warning: Invalid WM_TRANSIENT_FOR window 0x4200016 specified for 0x4200014.\r\nAug 28 19:50:47 saegusa kernel: [17841.949249] nextcloud[55212]: segfault at ffffffffffffffff ip 00007f2b3b765671 sp 00007ffe18796c78 error 5 in libgobject-2.0.so.0.6400.3[7f2b3b737000+36000]\r\nAug 28 19:50:47 saegusa kernel: [17841.949258] Code: b5 2c 02 00 48 8b 34 d8 eb b6 66 66 2e 0f 1f 84 00 00<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Selecting open main dialog from the client menu either does not bring up the main dialog or brings it up only to have it disappear almost immediately.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8860],"tags":[13996],"class_list":["post-6377","post","type-post","status-publish","format-standard","hentry","category-vianhallintajarjestelmat","tag-nextcloud","sijainti-github"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/comments?post=6377"}],"version-history":[{"count":1,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6377\/revisions"}],"predecessor-version":[{"id":6378,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6377\/revisions\/6378"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=6377"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=6377"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=6377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}