fwiw, testing a build of m-b on rev https://hg.mozilla.org/mozilla-central/rev/8508522a874d0d3f9be2a513f96ce5b2f70c644a with https://phabricator.services.mozilla.com/D187809 applied on top, and using `--disable-dbus`, it starts & runs fine. Woo! would have never found the right fix... after hours of staring at the code. will confirm in the coming hours: - that a build from m-c tip with the patch (and using `--disable-dbus`) runs fine - that a build of 118.0b6 with the patch (and using `--disable-dbus`) runs fine that leaves me with one interrogation.. if i understood it right, if dbus is found, the x11 codepaths are never taken, so if there's no `org.gnome.Mutter.IdleMonitor` service on the bus, then idle timeout won't be detected/x11 wont be used as a fallback ? shouldnt that be taken into account ?
Bug 1850968 Comment 32 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
fwiw, testing a build of m-b on rev https://hg.mozilla.org/mozilla-central/rev/8508522a874d0d3f9be2a513f96ce5b2f70c644a with https://phabricator.services.mozilla.com/D187809 applied on top, and using `--disable-dbus`, it starts & runs fine. Woo! would have never found the right fix... after hours of staring at the code. will confirm in the coming hours: - that a build from m-c tip with the patch (and using `--disable-dbus`) runs fine - that a build of 118.0b6 with the patch (and using `--disable-dbus`) runs fine that leaves me with one interrogation.. if i understood it right, if dbus is found, the x11 codepaths are never taken, so if there's no `org.gnome.Mutter.IdleMonitor` service on the bus, then idle timeout won't be detected/x11 wont be used as a fallback ? shouldnt that be taken into account ? with dbus, not using gnome, that's just a constant stream of error msgs from `UserIdleServiceMutter::PollIdleTime()` ``` ... [Parent 58669: Main Thread]: I/nsIUserIdleService UserIdleServiceMutter::PollIdleTime() [Parent 58669: Main Thread]: I/nsIUserIdleService UserIdleServiceMutter::PollIdleTime() failed, message: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Mutter.IdleMonitor was not provided by any .service files [Parent 58669: Main Thread]: I/nsIUserIdleService UserIdleServiceMutter::PollIdleTime() [Parent 58669: Main Thread]: I/nsIUserIdleService UserIdleServiceMutter::PollIdleTime() failed, message: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Mutter.IdleMonitor was not provided by any .service files ... ```