Closed
Bug 1434544
Opened 8 years ago
Closed 8 years ago
[Wayland] Remote client fails to start when no profile name is given on command line
Categories
(Core Graveyard :: X-remote, defect, P2)
Core Graveyard
X-remote
Tracking
(firefox60 fixed)
RESOLVED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: stransky, Assigned: stransky)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
$firefox url does not work for DBus remote as we don't have specified the profile name - StartRemoteClient() has an empty profile name. We can remove profile name from remote protocol or get the profile name somehow.
It has to work with:
- default profile, created by FF at first start
- custom created profile is chosen at ProfileManager as a default.
Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8947780 [details]
Bug 1434544 - When launching remote instance without profile name search for already running firefox instances,
https://reviewboard.mozilla.org/r/217498/#review225520
::: widget/xremoteclient/DBusRemoteClient.cpp:105
(Diff revision 1)
> + if (!reply) {
> + return false;
> + }
> +
> + char **interfaces;
> + dbus_int32_t interfaceNum;
Please use interfaceNums to be more clear that it's count of interfaces.
::: widget/xremoteclient/DBusRemoteClient.cpp:123
(Diff revision 1)
> + break;
> + }
> + }
> + dbus_free_string_array(interfaces);
> +
> + return (i && i != interfaceNum);
I would rather check there if `aDestinationName` is not empty string there rather than checking `i` var, because what actually matters there is non empty aDestinationName value, right?
Attachment #8947780 -
Flags: review?(jhorak) → review-
Comment hidden (mozreview-request) |
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8947780 [details]
Bug 1434544 - When launching remote instance without profile name search for already running firefox instances,
https://reviewboard.mozilla.org/r/217498/#review225566
Attachment #8947780 -
Flags: review?(jhorak) → review+
Pushed by stransky@redhat.com:
https://hg.mozilla.org/integration/autoland/rev/1b0fa4897edc
When launching remote instance without profile name search for already running firefox instances, r=jhorak
Comment 6•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Updated•6 years ago
|
Product: Core → Core Graveyard
Comment 7•6 years ago
|
||
Is this really fixed? I still have to specify the profile on the command line of my .desktop file for FF as a default browser so that links open in the existing session on Wayland.
You need to log in
before you can comment on or make changes to this bug.
Description
•