Hide Forgot
Created attachment 1202420 [details] alert message Description of problem: Select multiple Google documents and click on "Open with Google Docs". Only one Firefox window is opened, for every other window there is an error message that Firefox is already running. Version-Release number of selected component (if applicable): gnome-documents-3.14.3-3.el7.x86_64 How reproducible: always Steps to Reproduce: 1.login to Google account via goa 2.open gnome-documents 3.select 2 or 3 google documents with right click 4.Click "Open with Google Docs" Actual results: Firefox window with document appears, afterwards 1 or 2 windows with alert message, that you should close Firefox (see screenshot). Expected results: Documents should open Firefox window with several tabs for each document. Additional info: Make sure that Firefox is not running when you try to open documents, in that case documents are opened in existing Firefox window in new tabs.
Created attachment 1339808 [details] Standalone reproducer
Firefox is unable to handle a large number of incoming URI arguments while it is starting up. For example, see the attached standalone reproducer which tries to open 50 URIs one after the other. I am not sure gnome-documents (or any other application) can reliably work around it. We could add a timeout but that's just going to be racy. Depending on the nature of the system, it will either make things slower than they need to be, or won't be slow enough.
I tried the same reproducer with Epiphany on Fedora. While it managed to freeze my system for a while (almost 6 year old laptop with spinning HDD), it did open all 50 of those URIs. So, I will hesitantly blame Firefox for this one.
Sure, that's probably Firefox fault and may be fixed by D-Bus implementation - https://bugzilla.mozilla.org/show_bug.cgi?id=1283055
Looks fine in 7.6, two windows are successfully opened and documents are viewed firefox-52.8.0-1.el7_5.x86_64 gnome-documents-3.28.1-1.el7.x86_64