Bug 1650667
Summary: | firefox --new-window does not open a new window if firefox is already running | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bryan Ischo <bryan> |
Component: | firefox | Assignee: | Martin Stransky <stransky> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 29 | CC: | 0xalen+redhat, anto.trande, bryan, gecko-bugs-nobody, jhorak, john.j5live, kengert, pjasicek, rhughes, rstrode, sandmann, stransky |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-11-29 09:20:45 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Bryan Ischo
2018-11-16 19:09:04 UTC
Just to give some idea why a user would care about this feature ... I have bound Alt-F1 keypress in my window manager to execute 'firefox --new-window', so that I can press Alt-F1 at any time to bring up a new firefox window. I have found this a very convenient way to open a new firefox window for those many, many times a day when I need to do some new task in a browser window, and it's become part of my muscle memory. I hit Alt-F1 all the time and it's so ingrained in my work process that it's very jarring now that when I hit Alt-F1 all I get is an error dialog. Sadness. A new development: I just updated thunderbird via dnf update, and now thunderbird has the exact same problem. I do not know exactly what version of thunderbird I had previous to the one that was just installed, but I do know that I did a net install of Fedora 29 and probably didn't update thunderbird until now, so the difference is probably somewhere between the net install image of Fedora 29 and the 60.3.1 version of thunderbird. Is anyone from Fedora tracking this issue? Any thoughts? Thank you! I see. Do you have DBus service enabled and running? Because Fedora Firefox uses DBus to open a new Firefox instance but Mozilla uses XRemote. You can also inspect that Firefox is active at DBus by d-feet, look at Session Bus and org.mozilla.firefox.* (or org.mozilla.thunderbird.* for Thunderbird). Thank you for your response Martin. Yes, I believe I am running dbus: $ ps auxc | grep dbus dbus 1229 0.0 0.0 41788 5000 ? Ssl Nov15 0:44 dbus-daemon bji 1547 0.0 0.0 34756 756 ? Ssl Nov15 0:01 dbus-daemon bji 6120 0.0 0.0 34432 492 ? Sl Nov15 0:00 dbus-daemon bji 20413 0.0 0.0 236524 7488 ? Sl Nov27 0:00 flatpak-dbus-pr bji 47193 0.0 0.0 236520 7364 ? Sl Nov27 0:00 flatpak-dbus-pr bji 72397 0.0 0.0 236520 7320 ? Sl Nov26 0:00 flatpak-dbus-pr $ systemctl status dbus ● dbus.service - D-Bus System Message Bus Loaded: loaded (/usr/lib/systemd/system/dbus.service; static; vendor preset: disabled) Active: active (running) since Fri 2018-11-16 00:19:36 PST; 1 weeks 5 days ago Docs: man:dbus-daemon(1) Main PID: 1229 (dbus-daemon) Tasks: 2 (limit: 19660) Memory: 20.2M CGroup: /system.slice/dbus.service └─1229 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only Nov 27 15:45:56 localhost.localdomain dbus-daemon[1229]: [system] Reloaded configuration Nov 27 15:45:56 localhost.localdomain dbus-daemon[1229]: [system] Reloaded configuration Nov 27 16:18:34 localhost.localdomain dbus-daemon[1229]: [system] Activating service name='org.freedesktop.problems' requested by ':1.4175' (uid=0 pid=19023 comm="/usr/bin/python3 /usr/bin/abrt-action-notify -d /v" label="system_u:system_r:abrt_t:s0-s0:c0.c1023") (using servicehelper) Nov 27 16:18:34 localhost.localdomain dbus-daemon[1229]: [system] Activated service 'org.freedesktop.problems' failed: Failed to execute program org.freedesktop.problems: Permission denied Nov 27 16:18:34 localhost.localdomain dbus-daemon[1229]: [system] Activating service name='org.freedesktop.problems' requested by ':1.4175' (uid=0 pid=19023 comm="/usr/bin/python3 /usr/bin/abrt-action-notify -d /v" label="system_u:system_r:abrt_t:s0-s0:c0.c1023") (using servicehelper) Nov 27 16:18:34 localhost.localdomain dbus-daemon[1229]: [system] Activated service 'org.freedesktop.problems' failed: Failed to execute program org.freedesktop.problems: Permission denied Nov 27 19:40:32 localhost.localdomain dbus-daemon[1229]: [system] Activating service name='org.freedesktop.problems' requested by ':1.4318' (uid=0 pid=44380 comm="/usr/bin/python3 /usr/bin/abrt-action-notify -d /v" label="system_u:system_r:abrt_t:s0-s0:c0.c1023") (using servicehelper) Nov 27 19:40:32 localhost.localdomain dbus-daemon[1229]: [system] Activated service 'org.freedesktop.problems' failed: Failed to execute program org.freedesktop.problems: Permission denied Nov 27 19:40:32 localhost.localdomain dbus-daemon[1229]: [system] Activating service name='org.freedesktop.problems' requested by ':1.4318' (uid=0 pid=44380 comm="/usr/bin/python3 /usr/bin/abrt-action-notify -d /v" label="system_u:system_r:abrt_t:s0-s0:c0.c1023") (using servicehelper) Nov 27 19:40:32 localhost.localdomain dbus-daemon[1229]: [system] Activated service 'org.freedesktop.problems' failed: Failed to execute program org.freedesktop.problems: Permission denied Is there some way that I can debug the dbus messages to see what is causing this? Hm, I did not understand your comment about d-feet previously but I see this is a d-bus inspection tool. I have run it, but I cannot select the session bus. When I try to, I get a message on the terminal: "g-io-error-quark: Could not connect: No such file or directory (1)" After more reading I see that I can use dbus-launch to launch a "session bus", I assume this is some per-user bus. This may not be happening for me because I still use twm (don't ask) with my own custom .xinitrc and do not avail myself of whatever standard X session startup scripting is a part of Fedora. I have launched session bus, and exported the DBUS_SESSION_BUS_ADDRESS variable that dbus-launch printed out; and from that shell I can run d-feet and now I see a session bus. But I still cannot use firefox --new-window. Perhaps I need to also start Firefox with this variable set? OK I was able to fix this for myself. I found this in /etc/X11/xinit/xinitrc.d/00-start-message-bus.sh: eval `dbus-launch --sh-syntax --exit-with-session` I added that to the front of my own .xinitrc and restarted X, and now the problem has gone away. Not sure that I would call this a bug. Certainly Fedora is set up so that the xinitrc stuff in /etc/X11/xinit/xinitrc.d is expected to be run, and it's my fault that I am not running those. I've been using my same X configuration since 1992 (more or less) and so from time to time the world moves beyond me and I have to catch up ... Thank you again for your help. You can feel free to resolve this as WORKSFORME or however you handle this sort of bug at Fedora. Best wishes. Thanks, I'm glad it works for you now. The DBus is pretty much expected to be present and running so closing. |