linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.52k stars 733 forks source link

Grouped Window List not updating when moving windows between monitors #10251

Open anthropos9 opened 3 years ago

anthropos9 commented 3 years ago
 * Cinnamon version (cinnamon --version)
   - 5.0.5
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...)
   - Mint 20.2
 * Graphics hardware *and* driver used
   - UHD Graphics 620
 * 32 or 64 bit
   - 64 bit

Issue When moving a window from one monitor to the other the grouped window list in the panel on the new window doesn't update to show that the window is now present on that screen.

Steps to reproduce Open an app on one monitor and either drag it to another monitor or use the key binding to move it. Note: if I restart Cinnamon the grouped window list updates correctly.

Expected behaviour The grouped window list on the new monitor should update to show that a window for that app is open on that monitor.

Mario-paul commented 3 years ago

Thank you for posting this issue! I am having exactly the same problem. Restarting Cinnamon fixes the problem for a short time. Incredibly frustrating problem and has been happening for months.

icarter09 commented 3 years ago

Can you post your GWL settings? (~/.cinnamon/configs/grouped-window-list@cinnamon.org/*.json)

Is there any app in particular that can be used to reproduce the issue? Thanks.

anthropos9 commented 3 years ago

I see it frequently with Sublime Text and Terminator.

anthropos9 commented 3 years ago

Can you post your GWL settings? (~/.cinnamon/configs/grouped-window-list@cinnamon.org/*.json)

Is there any app in particular that can be used to reproduce the issue? Thanks.

Here is my most recently updated ~/.cinnamon/configs/grouped-window-list@cinnamon.org/*.json file:

{
    "layout": {
        "type": "layout",
        "pages": [
            "generalPage",
            "panelPage",
            "thumbnailsPage",
            "contextMenuPage"
        ],
        "generalPage": {
            "type": "page",
            "title": "General",
            "sections": [
                "generalSection",
                "hotKeysSection"
            ]
        },
        "panelPage": {
            "type": "page",
            "title": "Panel",
            "sections": [
                "appButtonsSection"
            ]
        },
        "thumbnailsPage": {
            "type": "page",
            "title": "Thumbnails",
            "sections": [
                "thumbnailsSection",
                "hoverPeekSection"
            ]
        },
        "contextMenuPage": {
            "type": "page",
            "title": "Context Menu",
            "sections": [
                "contextMenuSection"
            ]
        },
        "generalSection": {
            "type": "section",
            "title": "Behavior",
            "keys": [
                "group-apps",
                "scroll-behavior",
                "left-click-action",
                "middle-click-action",
                "show-all-workspaces"
            ]
        },
        "appButtonsSection": {
            "type": "section",
            "title": "Application Buttons",
            "keys": [
                "title-display",
                "launcher-animation-effect",
                "number-display",
                "pinned-apps",
                "enable-app-button-dragging"
            ]
        },
        "hotKeysSection": {
            "type": "section",
            "title": "Hot Keys",
            "keys": [
                "cycleMenusHotkey",
                "show-apps-order-hotkey",
                "show-apps-order-timeout",
                "super-num-hotkeys"
            ]
        },
        "thumbnailsSection": {
            "type": "section",
            "title": "Thumbnails",
            "keys": [
                "thumbnail-scroll-behavior",
                "show-thumbnails",
                "animate-thumbnails",
                "vertical-thumbnails",
                "sort-thumbnails",
                "highlight-last-focused-thumbnail",
                "onclick-thumbnails",
                "thumbnail-timeout",
                "thumbnail-size"
            ]
        },
        "hoverPeekSection": {
            "type": "section",
            "title": "Hover Peek",
            "keys": [
                "enable-hover-peek",
                "hover-peek-time-in",
                "hover-peek-time-out",
                "hover-peek-opacity"
            ]
        },
        "contextMenuSection": {
            "type": "section",
            "title": "",
            "keys": [
                "show-recent",
                "autostart-menu-item",
                "launch-new-instance-menu-item",
                "monitor-move-all-windows"
            ]
        }
    },
    "number-display": {
        "type": "checkbox",
        "default": true,
        "description": "Show window count numbers",
        "value": true
    },
    "title-display": {
        "type": "combobox",
        "default": 1,
        "description": "Button label",
        "options": {
            "None": 1,
            "Application name": 2,
            "Window title": 3,
            "Window title (only for the focused window)": 4
        },
        "value": 1
    },
    "scroll-behavior": {
        "type": "combobox",
        "default": 1,
        "description": "Mouse wheel scroll action",
        "options": {
            "None": 1,
            "Cycle apps": 2,
            "Cycle windows": 3
        },
        "value": 1
    },
    "left-click-action": {
        "type": "combobox",
        "default": 2,
        "description": "Left click action",
        "options": {
            "None": 1,
            "Toggle activation of last focused window": 2,
            "Cycle windows": 3
        },
        "value": 2
    },
    "middle-click-action": {
        "type": "combobox",
        "default": 3,
        "description": "Middle click action",
        "options": {
            "None": 1,
            "Launch new app instance": 2,
            "Close last focused window in group": 3
        },
        "value": 3
    },
    "pinned-apps": {
        "type": "generic",
        "default": [
            "firefox.desktop",
            "org.gnome.Terminal.desktop",
            "nemo.desktop"
        ],
        "value": [
            "nemo.desktop",
            "firefox.desktop",
            "chromium-browser.desktop",
            "terminator.desktop",
            "sublime_text.desktop",
            "slack.desktop",
            "authy_authy.desktop"
        ]
    },
    "group-apps": {
        "type": "checkbox",
        "default": true,
        "description": "Group windows by application",
        "value": true
    },
    "show-all-workspaces": {
        "type": "checkbox",
        "default": false,
        "description": "Show windows from all workspaces",
        "value": false
    },
    "enable-app-button-dragging": {
        "type": "checkbox",
        "default": true,
        "description": "Enable app button dragging",
        "value": true
    },
    "launcher-animation-effect": {
        "type": "combobox",
        "default": 3,
        "description": "Launcher animation",
        "options": {
            "None": 1,
            "Fade": 2,
            "Scale": 3
        },
        "value": 3
    },
    "cycleMenusHotkey": {
        "type": "keybinding",
        "default": "",
        "description": "Global hotkey for cycling through thumbnail menus",
        "value": "<Super>space"
    },
    "show-apps-order-hotkey": {
        "type": "keybinding",
        "default": "<Super>grave",
        "description": "Global hotkey to show the order of apps",
        "value": "<Super>grave"
    },
    "show-apps-order-timeout": {
        "type": "spinbutton",
        "default": 2500,
        "min": 100,
        "max": 10000,
        "step": 10,
        "units": "milliseconds",
        "description": "Duration of the apps order display on hotkey press",
        "value": 2500
    },
    "super-num-hotkeys": {
        "type": "checkbox",
        "default": true,
        "description": "Enable Super+<number> shortcut to switch/open apps",
        "value": true
    },
    "thumbnail-timeout": {
        "dependency": "!onclick-thumbnails",
        "type": "combobox",
        "default": 250,
        "description": "Delay before showing thumbnails",
        "options": {
            "50 ms": 50,
            "250 ms": 250,
            "500 ms": 500
        },
        "value": 250
    },
    "thumbnail-size": {
        "type": "combobox",
        "default": 6,
        "description": "Thumbnail size",
        "options": {
            "Small": 3,
            "Medium": 6,
            "Large": 9,
            "Largest": 12
        },
        "value": 6
    },
    "thumbnail-scroll-behavior": {
        "type": "checkbox",
        "default": false,
        "description": "Cycle windows on mouse wheel scroll",
        "value": false
    },
    "show-thumbnails": {
        "type": "checkbox",
        "default": true,
        "description": "Show thumbnails",
        "value": true
    },
    "animate-thumbnails": {
        "type": "checkbox",
        "default": false,
        "description": "Animate thumbnails",
        "value": false
    },
    "vertical-thumbnails": {
        "type": "checkbox",
        "default": false,
        "description": "Enable vertical thumbnails",
        "value": false
    },
    "sort-thumbnails": {
        "type": "checkbox",
        "default": false,
        "description": "Sort thumbnails according to the last focused windows",
        "value": false
    },
    "highlight-last-focused-thumbnail": {
        "type": "checkbox",
        "default": true,
        "description": "Highlight the thumbnail of the last focused window",
        "value": true
    },
    "onclick-thumbnails": {
        "type": "checkbox",
        "default": false,
        "description": "Click to show thumbnails",
        "value": false
    },
    "show-recent": {
        "type": "checkbox",
        "default": true,
        "description": "Show recent items",
        "value": true
    },
    "autostart-menu-item": {
        "type": "checkbox",
        "default": false,
        "description": "Show autostart option",
        "value": false
    },
    "launch-new-instance-menu-item": {
        "type": "checkbox",
        "default": true,
        "description": "Show new window option",
        "tooltip": "Shows the \"New Window\" option in an app's context menu if it doesn't already have one from the app's own action menu items.",
        "value": true
    },
    "monitor-move-all-windows": {
        "type": "checkbox",
        "default": true,
        "description": "Apply the monitor move option to all windows",
        "tooltip": "When clicking \"Move to monitor\" in the context menu, this option will move all of an app's windows instead of just the last focused window from the app.",
        "value": true
    },
    "enable-hover-peek": {
        "type": "checkbox",
        "default": true,
        "description": "Show the window when hovering its thumbnail",
        "value": true
    },
    "hover-peek-time-in": {
        "dependency": "enable-hover-peek",
        "type": "combobox",
        "default": 300,
        "description": "Window fade-in time",
        "options": {
            "150 ms": 150,
            "300 ms": 300,
            "450 ms": 450
        },
        "value": 300
    },
    "hover-peek-time-out": {
        "dependency": "enable-hover-peek",
        "type": "combobox",
        "default": 0,
        "description": "Window fade-out time",
        "options": {
            "None": 0,
            "150 ms": 150,
            "300 ms": 300,
            "450 ms": 450
        },
        "value": 0
    },
    "hover-peek-opacity": {
        "dependency": "enable-hover-peek",
        "type": "spinbutton",
        "default": 100,
        "min": 0,
        "max": 100,
        "step": 1,
        "units": "percent",
        "description": "Window opacity",
        "value": 100
    },
    "__md5__": "66a0d0d0a20d5fc5d31531d7129d7df2"
}
Mario-paul commented 3 years ago

Can you post your GWL settings? (~/.cinnamon/configs/grouped-window-list@cinnamon.org/*.json)

Is there any app in particular that can be used to reproduce the issue? Thanks.

Attached is my latest configuration file (63.json).

Bug happens with all apps, I can temporarily fix it by resetting Cinnamon (with ctrl + alt + esc), but bug will happen soon after (anywhere from minutes to a few hours). Chrome, VS Code, slack, file browser, they will all stick with a monitor even if app moves between windows. 63.txt

made it a text in order to upload

mtwebster commented 3 years ago

Please also supply the output from:

dconf dump /org/cinnamon/

Thanks

Mario-paul commented 3 years ago

For me it happens with any and every app, but especially chrome since that's what I move most of the time from screen to screen. I have to ctrl + alt + esc constantly

❯ dconf dump /org/cinnamon/
[/]
alttab-switcher-delay=100
applet-cache-updated=1629563922
command-history=['rt', 'r']
desklet-cache-updated=1629563922
desktop-effects-close-effect='traditional'
desktop-effects-close-time=120
desktop-effects-close-transition='easeOutQuad'
desktop-effects-map-effect='traditional'
desktop-effects-map-time=100
desktop-effects-map-transition='easeOutQuad'
desktop-effects-maximize-effect='none'
desktop-effects-maximize-time=100
desktop-effects-maximize-transition='easeInExpo'
desktop-effects-minimize-effect='traditional'
desktop-effects-minimize-time=160
desktop-effects-minimize-transition='easeInQuad'
desktop-effects-tile-effect='none'
desktop-effects-tile-time=100
desktop-effects-tile-transition='easeInQuad'
desktop-effects-unmaximize-effect='none'
desktop-effects-unmaximize-time=100
desktop-effects-unmaximize-transition='easeNone'
enabled-applets=['panel1:left:0:menu@cinnamon.org:0', 'panel1:left:1:show-desktop@cinnamon.org:1', 'panel1:left:2:grouped-window-list@cinnamon.org:2', 'panel1:right:1:systray@cinnamon.org:3', 'panel1:right:3:xapp-status@cinnamon.org:4', 'panel1:right:4:notifications@cinnamon.org:5', 'panel1:right:5:printers@cinnamon.org:6', 'panel1:right:6:removable-drives@cinnamon.org:7', 'panel1:right:7:keyboard@cinnamon.org:8', 'panel1:right:8:favorites@cinnamon.org:9', 'panel1:right:9:network@cinnamon.org:10', 'panel1:right:10:sound@cinnamon.org:11', 'panel1:right:11:power@cinnamon.org:12', 'panel1:right:12:calendar@cinnamon.org:13', 'panel1:right:2:SpicesUpdate@claudiux:14', 'panel2:left:0:menu@cinnamon.org:15', 'panel3:left:0:menu@cinnamon.org:16', 'panel2:left:1:grouped-window-list@cinnamon.org:17', 'panel3:left:1:grouped-window-list@cinnamon.org:18', 'panel2:right:1:calendar@cinnamon.org:19', 'panel3:right:1:calendar@cinnamon.org:20', 'panel3:right:0:workspace-switcher@cinnamon.org:21', 'panel2:right:0:workspace-switcher@cinnamon.org:22', 'panel1:right:0:workspace-switcher@cinnamon.org:23']
hotcorner-layout=['expo:false:0', 'scale:false:0', 'scale:false:0', 'desktop:false:0']
next-applet-id=24
no-adjacent-panel-barriers=true
panel-edit-mode=false
panel-zone-icon-sizes='[{"panelId":1,"left":0,"center":0,"right":24},{"left":0,"center":0,"right":0,"panelId":2},{"left":0,"center":0,"right":0,"panelId":3}]'
panel-zone-symbolic-icon-sizes='[{"panelId": 1, "left": 28, "center": 28, "right": 16}, {"left": 28, "center": 28, "right": 28, "panelId": 2}, {"left": 28, "center": 28, "right": 28, "panelId": 3}]'
panel-zone-text-sizes='[{"panelId":1,"left":0,"center":0,"right":0},{"left":0,"center":0,"right":0,"panelId":2},{"left":0,"center":0,"right":0,"panelId":3}]'
panels-autohide=['1:false', '2:false', '3:false']
panels-enabled=['1:0:bottom', '2:1:bottom', '3:2:bottom']
panels-height=['1:40', '2:40', '3:40']
panels-hide-delay=['1:0', '2:0', '3:0']
panels-show-delay=['1:0', '2:0', '3:0']

[cinnamon-session]
quit-time-delay=60

[desktop/applications/calculator]
exec='gnome-calculator'

[desktop/applications/terminal]
exec='gnome-terminal'

[desktop/background]
picture-options='zoom'
picture-uri='file:///home/user/Pictures/Wallpapers/529805.jpg'

[desktop/background/slideshow]
delay=15
image-source='xml:///usr/share/cinnamon-background-properties/linuxmint-ulyssa.xml'

[desktop/interface]
clock-show-date=true
clock-show-seconds=false
clock-use-24h=false
cursor-blink-time=1200
cursor-size=24
cursor-theme='DMZ-Black'
gtk-overlay-scrollbars=true
gtk-theme='Mint-Y-Dark-Red'
icon-theme='Papirus-Dark'
scaling-factor=uint32 0
text-scaling-factor=1.0

[desktop/keybindings]
custom-list=['__dummy__', 'custom0']

[desktop/keybindings/custom-keybindings/custom0]
binding=['<Primary><Shift><Alt>t']
command='terminator'
name='Launch Terminator'

[desktop/keybindings/media-keys]
volume-down=['XF86AudioLowerVolume']
volume-up=['XF86AudioRaiseVolume']

[desktop/keybindings/wm]
move-to-monitor-right=['<Shift><Super>Right']
move-to-workspace-down=@as []
move-to-workspace-up=@as []

[desktop/media-handling]
autorun-never=false

[desktop/notifications]
bottom-notifications=true
remove-old=true

[desktop/screensaver]
layout-group=0
lock-delay=uint32 15
lock-enabled=true

[desktop/sound]
event-sounds=false
maximum-volume=100

[desktop/wm/preferences]
min-window-opacity=30
mouse-button-modifier=''
num-workspaces=4
theme='Mint-Y-Dark'
workspace-names=@as []

[muffin]
resize-threshold=24
tile-hud-threshold=25
tile-maximize=true

[settings-daemon/peripherals/keyboard]
delay=uint32 500
numlock-state='off'
repeat-interval=uint32 30

[settings-daemon/peripherals/mouse]
custom-acceleration=false
custom-threshold=false
double-click=400
drag-threshold=8
motion-acceleration=1.0
motion-threshold=10

[settings-daemon/peripherals/touchpad]
motion-threshold=1

[settings-daemon/peripherals/touchscreen]
orientation-lock=false

[settings-daemon/plugins/power]
lid-close-ac-action='nothing'
lid-close-battery-action='suspend'
sleep-display-ac=1800
sleep-display-battery=300
sleep-inactive-ac-timeout=7200
sleep-inactive-battery-timeout=2700

[settings-daemon/plugins/xsettings]
buttons-have-icons=false

[sounds]
switch-enabled=false

[theme]
name='Obsidian'
theme-cache-updated=1629563922
anthropos9 commented 3 years ago

Attached is my dconf dump /org/cinnamon/ dconf.txt

xaqbr commented 6 months ago

Has anyone found a fix for this issue yet? It's been 3 years and still happening when switching between workspaces...

rcalixte commented 6 months ago

Has anyone found a fix for this issue yet? It's been 3 years and still happening when switching between workspaces...

Have you tried any of the other window list applets in the meantime?