After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 775955 - Apply parameters (--debug, etc.) at runtime even when Geary is already running
Apply parameters (--debug, etc.) at runtime even when Geary is already running
Status: RESOLVED DUPLICATE of bug 775956
Product: geary
Classification: Other
Component: client
master
Other Linux
: Normal enhancement
: ---
Assigned To: Geary Maintainers
Geary Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-12-11 18:31 UTC by Gautier Pelloux-Prayer
Modified: 2019-04-09 12:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gautier Pelloux-Prayer 2016-12-11 18:31:28 UTC
Often I left my computer suspended and on resume Geary is not working. Many times I typed 'geary --debug' to catch some logs but this only resumes the active instance and quit.

It would be great to instead "catch" the active instance and apply it the '--debug' flag. 
Same thing for '--hidden': if Geary is already running, invoking 'geary --hidden' will… show Geary's window.
Comment 1 Michael Gratton 2016-12-12 14:24:35 UTC
This would definitely be good to have for the logging. Maybe also related to Bug 775956? Although I'd be against adding any UI for it, but if logging could be controlled by manipulating GObject properties, then people could also manage it using the GTK Inspector by changing property values at runtime.

When it comes to showing the main window when hidden, doesn't just executing "geary" work?
Comment 2 Niels De Graef 2016-12-21 13:52:23 UTC
This should be solved per the patch in bug 775956.
Comment 3 Michael Gratton 2016-12-23 02:03:30 UTC
(In reply to Niels De Graef from comment #2)
> This should be solved per the patch in bug 775956.

Only from the command line, right? Not for using GTK Inspector?
Comment 4 Michael Gratton 2019-04-09 12:24:41 UTC
Geary now has it's own inspector for GUI log viewing, and forwarding command line args to the running instance will indeed be taken care of by 775956, so marking as a duplicate of that.

*** This bug has been marked as a duplicate of bug 775956 ***