Welcome to awesome bug tracking system.

FS#975 - Unable to close Firefox Web Console popup window

Attached to Project: awesome
Opened by Lukas K. (lukas) - Tuesday, 13 March 2012, 20:38 GMT
Task Type Bug Report
Category Core
Status Unconfirmed
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version 3.4.11
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Inspecting a request using the Firefox Web Console (Ctrl-Shift-K) brings up some strange kind of popup window. Pressing Mod4-Shift-C in order to close the popup window closes the parent firefox window. The only way of getting rid of this window is either closing the web console or moving the main firefox window to a different tag and then closing the popup window using Mod4-Shift-C.

xprop of the popup window is
window state: Normal
icon window: 0x0
Client accepts input or input focus: False
Initial state is Normal State.
window id # of group leader: 0x5800001
XdndAware(ATOM) = BITMAP
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x8, 0x0, 0x0
WM_TRANSIENT_FOR(WINDOW): window id # 0x580008d
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x5814215
WM_CLIENT_LEADER(WINDOW): window id # 0x5800001
program specified location: 0, 0
program specified minimum size: 0 by 0
window gravity: NorthWest
WM_CLASS(STRING) = "Popup", "Firefox"
WM_ICON_NAME(STRING) = "Inspect Network Request"
_NET_WM_ICON_NAME(UTF8_STRING) = "Inspect Network Request"
WM_NAME(STRING) = "Inspect Network Request"
_NET_WM_NAME(UTF8_STRING) = "Inspect Network Request"
This task depends upon

Comment by Uli Schlachter (psychon) - Thursday, 15 March 2012, 10:34 GMT
Client accepts input or input focus: False

Mod4-Shift-C closes the currently focused client. Since this client doesn't want to be focused, it can't be closed that way. This is the "globally active focus model" and apparently there are still bugs with that (dupe of FS#971?)
Comment by Uli Schlachter (psychon) - Friday, 06 April 2012, 16:00 GMT
Could you test if clicking into the web console window twice makes mod4-shift-c kill the right client?

On the first click, the parent firefox window gets the input focus here, but the second click makes that window visibly unfocused here and it can then be closed. Apparently.
Comment by Adam Nielsen (Malvineous) - Tuesday, 11 September 2012, 07:19 GMT
Just came across this problem myself. No, clicking into the window twice does not make a difference, Mod4+Shift+C still closes the parent Firefox window.
Comment by Jan Niehusmann (jan) - Friday, 06 September 2013, 15:43 GMT
As a workaround, I remapped the buttons so I can just click onto these windows to close them:

clientbuttonskill = awful.util.table.join(
awful.button({ }, 1, function (c) c:kill() end),
awful.button({ modkey }, 1, awful.mouse.client.move),
awful.button({ modkey }, 3, awful.mouse.client.resize))

awful.rules.rules = {
{ rule = { name = "Inspect Network Request" },
properties = { buttons = clientbuttonskill} },