GNOME Bugzilla – Bug 778939
MainWindow and db upgrade window created after account changing type to other on first run
Last modified: 2018-02-07 06:41:22 UTC
Created attachment 346237 [details] after opening the geary Linux arch 4.9.8-1-ARCH #1 SMP PREEMPT Mon Feb 6 12:59:40 CET 2017 x86_64 GNU/Linux GNOME: 3.22.2 After opening Geary, there is only one icon on the GNOME dock, but after changing the service to other, the number of Geary's icons on dock increases to 3. Closing Geary will close all the icon on dock.
Created attachment 346238 [details] after changing service to other
Hi, thanks for reporting this. How have you installed Geary? From from source or fro the Arch repo? If the latter, which specific package did you install?
Hi, I installed Geary from the Arch official repo. The output of pacman -Qi geary is: Name : geary Version : 0.11.3+711+g4e27949d-1 Description : A lightweight email client for the GNOME desktop Architecture : x86_64 URL : http://www.yorba.org/projects/geary/ Licenses : GPL3 Groups : None Provides : None Depends On : gnome-keyring gmime libcanberra libgee libnotify librsvg webkit2gtk Optional Deps : None Required By : None Optional For : None Conflicts With : None Replaces : None Installed Size : 5.96 MiB Packager : Balló György <ballogyor+arch@gmail.com> Build Date : Fri 10 Feb 2017 01:07:24 AM CST Install Date : Sun 26 Feb 2017 03:10:59 PM CST Install Reason : Explicitly installed Install Script : No Validated By : Signature
I don't know if it is some specific reason leading to this problem, but on my laptop I can reproduce this problem. But on my desktop computer, this problem never happens: icon display is ok, icons never increase after changing service; Is this a specific case? and the output of `geary -d |& tee geary.out` has only one line: Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
The above output is: 1. Launch geary: geary -d |& tee geary.out 2. Change service several times 3. Press control-c in the terminal.
I think I may find the reason causing this problem, my laptop using Wayland while my desktop using X11. After I change Wayland to X11 on my laptop, the weird problem is gone. So maybe this problem is causing by Wayland? BTW, the bug (https://bugzilla.gnome.org/show_bug.cgi?id=778938) is also gone after I switch from Wayland to X11.
This problem goes away once you have actually set up an account, and the main window has appeared, right? If so, then the issue is first that when first launching Geary, the LoginDialog (which is shown by default when no accounts have created) is not associated with an ApplicationWindow, and hence not associated with GearyApplication, and (I think) that's how gnome-shell gets the icon. Then, when changing the account type to Other, Geary ends up creating (but not showing) a few other windows, and the LoginDialog still does not have an ApplicationWindow parent. I'm not sure why gnome-shell is show icons for the other windows, since they are not yet visible, but maybe it's just enough for them to exist. In any case, if so, this might be fixed by Neil's work on Bug 714104 and/or Bug 766199.