[BUG]: Pop-up's In Arc Browser produce 'Phantom' Tabs/Windows #538

Closed
opened 2026-01-05 14:51:24 +01:00 by adam · 2 comments
Owner

Originally created by @benpbachmann-dev on GitHub (Dec 8, 2024).

Summary

Behavior:

Pop-ups In Arc create 'phantom' window as shown below. E.g. Video pop-up player, after closing the pop-up window
image

This issue also occurs with extensions and anything else that pops-up as its own new window.

I have not been able to see this behavior with Firefox -based browsers (tested Zen, FF, Floorp)

Config file:

Version Information

OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.26100 N/A Build 26100

komorebic 0.1.30
tag:v0.1.30
commit_hash:9a3dbccc
build_time:2024-11-03 23:49:52 +00:00

Komorebi Configuration

{
    "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/master/schema.json",
    "app_specific_configuration_path": "$Env:USERPROFILE/.config/komorebi/applications.yaml",
    "window_hiding_behaviour": "Minimize",
    "cross_monitor_move_behaviour": "Insert",
    "mouse_follows_focus": false,
    "default_workspace_padding": 7,
    "default_container_padding": 7,  
    "border": false,
    "border_width": 2,
    "border_offset": -1,
    "theme": {
        "palette": "Base16",
        "name": "TokyoNightDark",
        "unfocused_border": "Base03",
        "bar_accent": "Base0D"
    },
    "border_colours": {
        "single": {
            "r": 22,
            "g": 23,
            "b": 25
        },
        "stack": {
            "r": 32,
            "g": 57,
            "b": 123
        },
        "monocle": {
            "r": 255,
            "g": 51,
            "b": 153
        }
    },
    "monitors": [
        {
            "workspaces": [
                {
                    "name": "1",
                    "layout": "BSP"
                },
                {
                    "name": "2",
                    "layout": "UltrawideVerticalStack"
                },
                {
                    "name": "3",
                    "layout": "Columns"
                },
                {
                    "name": "4",
                    "layout": "VerticalStack"
                }
            ]
        }
    ],
    "stackbar": {
        "label": "Title",
        "height": 30,
        "mode": "OnStack",
        "tabs": {
            "width": 300,
            "focused_text": "#00a542",
            "unfocused_text": "#b3b3b3",
            "background": "#141414",
            "font_family": "Segoe UI",
            "font_size": 18
        }
    },
    "transparency": true,
    "transparency_alpha": 215,
    "animation": {
        "enabled": true,
        "duration": 400,
        "style": "EaseOutBack",
        "fps": 60
    },
    "float_rules": [
        {
            "kind": "Title",
            "id": "Arc extension popup",
            "matching_strategy": "Equals"
        },
        {
            "kind": "Title",
            "id": "Arc picture in picture",
            "matching_strategy": "Equals"
        },
        {
            "kind": "Title",
            "id": "Picture-in-Picture",
            "matching_strategy": "Equals"
        },
        {
            "kind": "Title",
            "id": "ShareX",
            "matching_strategy": "Equals"
        },
        {
            "kind": "Exe",
            "id": "zebar.exe",
            "matching_strategy": "Equals"
        }
    ]
}

Hotkey Configuration

#SingleInstance Force

; Load library
#Include komorebic.lib.ahk
; Load configuration
#Include komorebi.generated.ahk

;;;;;;;;;;;;;;; Focus windows
#w::Focus("up")
; Win + W
#a::Focus("left")
; Win + A
#s::Focus("down")
; Win + S
#d::Focus("right")
; Win + D
#+[::CycleFocus("previous")
; Win + LShift + [
#+]::CycleFocus("next")
; Win + LShift + ]

;;;;;;;;;;;;;;;;;;; Move windows*
#+w::Move("up")
; Win + LShift + W
#+a::Move("left")
; Win + LShift + A
#+s::Move("down")
; Win + LShift + S
#+d::Move("right")
; Win + LShift + D
#+Enter::Promote()
; Win + LShift + Enter

;;;;;;;;;;;;;;;;;;;;;;; Stack windows
#!w::Stack("up")
; Win + Alt + W
#!a::Stack("left")
; Win + Alt + A
#!s::Stack("down")
; Win + Alt + S
#!d::Stack("right")
; Win + Alt + W
#;::Unstack()
; Win + Alt + ;
#[::CycleStack("previous")
; Win + Alt + [
#]::CycleStack("next")
; Win + Alt + [
;;;;;;;;;;;;;;;;;;;; Resize
#=::ResizeAxis("horizontal", "increase")
; Win + =
#-::ResizeAxis("horizontal", "decrease")
; Win + -
#+=::ResizeAxis("vertical", "increase")
; Win + Shift + =
#+-::ResizeAxis("vertical", "decrease")
; Win + Shift + -

;;;;;;;;;;;;;;;;;;;;;; Manipulate windows
#q::Close()
; Win + q
#+m::Minimize()
; Win + Shift + m
#t::ToggleFloat()
; Win + t
#+t::ToggleMonocle()
; Win + Shift + t

;;;;;;;;;;;;;;;;;;;; Window manager options
#+r::Retile()
; Win + Shift + r
#^p::TogglePause()
; Win + Ctl + p

;;;;;;;;;;;;;;;;;;;;;;; Layouts
!x::FlipLayout("horizontal")
; Win + Alt + x
!y::FlipLayout("vertical")
; Win + Alt + y

;;;;;;;;;;;;;;;;;;;;;;; Workspaces
; Win + (0)......(8)
#1::FocusWorkspace(0)
#2::FocusWorkspace(1)
#3::FocusWorkspace(2)
#4::FocusWorkspace(3)
#5::FocusWorkspace(4)
#6::FocusWorkspace(5)
#7::FocusWorkspace(6)
#8::FocusWorkspace(7)
#9::FocusWorkspace(8)

#^Left::CycleWorkspace("previous")
; Win + Ctrl + LeftArrow
#^Right::CycleWorkspace("next")
; Win + Ctrl + RightArrow
^!+a::CycleWorkspace("previous")
; Ctrl + Alt + Shift + a
^!+d::CycleWorkspace("next")
; Ctrl + Alt + Shift + d

;;;;;;;;;;;;;;;; Move windows across workspaces
; Win + Shift + (0)
#+1::MoveToWorkspace(0)
#+2::MoveToWorkspace(1)
#+3::MoveToWorkspace(2)
#+4::MoveToWorkspace(3)
#+5::MoveToWorkspace(4)
#+6::MoveToWorkspace(5)
#+7::MoveToWorkspace(6)
#+8::MoveToWorkspace(7)
#+9::MoveToWorkspace(8)

Output of komorebic check

PS C:\Users\benpb> komorebic check
KOMOREBI_CONFIG_HOME detected: C:\Users\benpb.config\

Looking for configuration files in C:\Users\benpb.config\

Found komorebi.json; this file can be passed to the start command with the --config flag

Found C:\Users\benpb.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag

PS C:\Users\benpb>

Originally created by @benpbachmann-dev on GitHub (Dec 8, 2024). ### Summary Behavior: Pop-ups In Arc create 'phantom' window as shown below. E.g. Video pop-up player, after closing the pop-up window ![image](https://github.com/user-attachments/assets/18af1361-6e5a-4a46-84b7-52008b313ed9) This issue also occurs with extensions and anything else that pops-up as its own new window. I have not been able to see this behavior with Firefox -based browsers (tested Zen, FF, Floorp) Config file: ### Version Information OS Name: Microsoft Windows 11 Pro OS Version: 10.0.26100 N/A Build 26100 komorebic 0.1.30 tag:v0.1.30 commit_hash:9a3dbccc build_time:2024-11-03 23:49:52 +00:00 ### Komorebi Configuration ```json { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/master/schema.json", "app_specific_configuration_path": "$Env:USERPROFILE/.config/komorebi/applications.yaml", "window_hiding_behaviour": "Minimize", "cross_monitor_move_behaviour": "Insert", "mouse_follows_focus": false, "default_workspace_padding": 7, "default_container_padding": 7, "border": false, "border_width": 2, "border_offset": -1, "theme": { "palette": "Base16", "name": "TokyoNightDark", "unfocused_border": "Base03", "bar_accent": "Base0D" }, "border_colours": { "single": { "r": 22, "g": 23, "b": 25 }, "stack": { "r": 32, "g": 57, "b": 123 }, "monocle": { "r": 255, "g": 51, "b": 153 } }, "monitors": [ { "workspaces": [ { "name": "1", "layout": "BSP" }, { "name": "2", "layout": "UltrawideVerticalStack" }, { "name": "3", "layout": "Columns" }, { "name": "4", "layout": "VerticalStack" } ] } ], "stackbar": { "label": "Title", "height": 30, "mode": "OnStack", "tabs": { "width": 300, "focused_text": "#00a542", "unfocused_text": "#b3b3b3", "background": "#141414", "font_family": "Segoe UI", "font_size": 18 } }, "transparency": true, "transparency_alpha": 215, "animation": { "enabled": true, "duration": 400, "style": "EaseOutBack", "fps": 60 }, "float_rules": [ { "kind": "Title", "id": "Arc extension popup", "matching_strategy": "Equals" }, { "kind": "Title", "id": "Arc picture in picture", "matching_strategy": "Equals" }, { "kind": "Title", "id": "Picture-in-Picture", "matching_strategy": "Equals" }, { "kind": "Title", "id": "ShareX", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "zebar.exe", "matching_strategy": "Equals" } ] } ``` ### Hotkey Configuration #SingleInstance Force ; Load library #Include komorebic.lib.ahk ; Load configuration #Include komorebi.generated.ahk ;;;;;;;;;;;;;;; Focus windows #w::Focus("up") ; Win + W #a::Focus("left") ; Win + A #s::Focus("down") ; Win + S #d::Focus("right") ; Win + D #+[::CycleFocus("previous") ; Win + LShift + [ #+]::CycleFocus("next") ; Win + LShift + ] ;;;;;;;;;;;;;;;;;;; Move windows* #+w::Move("up") ; Win + LShift + W #+a::Move("left") ; Win + LShift + A #+s::Move("down") ; Win + LShift + S #+d::Move("right") ; Win + LShift + D #+Enter::Promote() ; Win + LShift + Enter ;;;;;;;;;;;;;;;;;;;;;;; Stack windows #!w::Stack("up") ; Win + Alt + W #!a::Stack("left") ; Win + Alt + A #!s::Stack("down") ; Win + Alt + S #!d::Stack("right") ; Win + Alt + W #;::Unstack() ; Win + Alt + ; #[::CycleStack("previous") ; Win + Alt + [ #]::CycleStack("next") ; Win + Alt + [ ;;;;;;;;;;;;;;;;;;;; Resize #=::ResizeAxis("horizontal", "increase") ; Win + = #-::ResizeAxis("horizontal", "decrease") ; Win + - #+=::ResizeAxis("vertical", "increase") ; Win + Shift + = #+-::ResizeAxis("vertical", "decrease") ; Win + Shift + - ;;;;;;;;;;;;;;;;;;;;;; Manipulate windows #q::Close() ; Win + q #+m::Minimize() ; Win + Shift + m #t::ToggleFloat() ; Win + t #+t::ToggleMonocle() ; Win + Shift + t ;;;;;;;;;;;;;;;;;;;; Window manager options #+r::Retile() ; Win + Shift + r #^p::TogglePause() ; Win + Ctl + p ;;;;;;;;;;;;;;;;;;;;;;; Layouts !x::FlipLayout("horizontal") ; Win + Alt + x !y::FlipLayout("vertical") ; Win + Alt + y ;;;;;;;;;;;;;;;;;;;;;;; Workspaces ; Win + (0)......(8) #1::FocusWorkspace(0) #2::FocusWorkspace(1) #3::FocusWorkspace(2) #4::FocusWorkspace(3) #5::FocusWorkspace(4) #6::FocusWorkspace(5) #7::FocusWorkspace(6) #8::FocusWorkspace(7) #9::FocusWorkspace(8) #^Left::CycleWorkspace("previous") ; Win + Ctrl + LeftArrow #^Right::CycleWorkspace("next") ; Win + Ctrl + RightArrow ^!+a::CycleWorkspace("previous") ; Ctrl + Alt + Shift + a ^!+d::CycleWorkspace("next") ; Ctrl + Alt + Shift + d ;;;;;;;;;;;;;;;; Move windows across workspaces ; Win + Shift + (0) #+1::MoveToWorkspace(0) #+2::MoveToWorkspace(1) #+3::MoveToWorkspace(2) #+4::MoveToWorkspace(3) #+5::MoveToWorkspace(4) #+6::MoveToWorkspace(5) #+7::MoveToWorkspace(6) #+8::MoveToWorkspace(7) #+9::MoveToWorkspace(8) ### Output of komorebic check PS C:\Users\benpb> komorebic check KOMOREBI_CONFIG_HOME detected: C:\Users\benpb\.config\ Looking for configuration files in C:\Users\benpb\.config\ Found komorebi.json; this file can be passed to the start command with the --config flag Found C:\Users\benpb\.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag PS C:\Users\benpb>
adam added the bug label 2026-01-05 14:51:24 +01:00
adam closed this issue 2026-01-05 14:51:25 +01:00
Author
Owner

@LGUG2Z commented on GitHub (Dec 8, 2024):

4f306e5bfd/.github/ISSUE_TEMPLATE/bug_report.yml (L9-L13)

@LGUG2Z commented on GitHub (Dec 8, 2024): https://github.com/LGUG2Z/komorebi/blob/4f306e5bfd72696d994fbf04f74d06a632d3084e/.github/ISSUE_TEMPLATE/bug_report.yml?plain=1#L9-L13
Author
Owner

@benpbachmann-dev commented on GitHub (Dec 8, 2024):

~This application should already my ignored by the applications.json, no? I probably don't fully understand how this works, but if I am calling the window out via Title (this is one of the windows that should already be covered in the "already generated for you" applications list). I understand that his is likely not a bug but rather a problem with my personal configuration (granted I have the same issue with a clean install and the config from quickstart)? ~

Scratch that I think I figured it out, I somehow had 2 ENV variables for my Config, Thanks For getting back though I have it working now (tested in Zen, Floorp, FireFox, Arc, etc, all are working as intended)

@benpbachmann-dev commented on GitHub (Dec 8, 2024): ~This application should already my ignored by the applications.json, no? I probably don't fully understand how this works, but if I am calling the window out via Title (this is one of the windows that should already be covered in the "already generated for you" applications list). I understand that his is likely not a bug but rather a problem with my personal configuration (granted I have the same issue with a clean install and the config from quickstart)? ~ Scratch that I think I figured it out, I somehow had 2 ENV variables for my Config, Thanks For getting back though I have it working now (tested in Zen, Floorp, FireFox, Arc, etc, all are working as intended)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#538