ValveSoftware / Dota-2

Tracker for issues specific to Linux and Mac in the Reborn client. If you have a general issue or non-system-specific feature request please go to dev.dota2.com
472 stars 38 forks source link

[Linux] Alt+Tab taskbar bug on XUbuntu 22.04 #2669

Open grizzlei opened 8 months ago

grizzlei commented 8 months ago

Computer Information: Manufacturer: Micro-Star International Co., Ltd. Model: MS-17L1 Form Factor: Laptop No Touch Input Detected Processor Information: CPU Vendor: GenuineIntel CPU Brand: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz CPU Family: 0x6 CPU Model: 0x8d CPU Stepping: 0x1 CPU Type: 0x0 Speed: 4600 MHz 16 logical processors 8 physical processors Hyper-threading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported AVX2: Supported AVX512F: Supported AVX512PF: Unsupported AVX512ER: Unsupported AVX512CD: Supported AVX512VNNI: Supported SHA: Supported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported Operating System Version: Ubuntu 22.04.3 LTS (64 bit) Kernel Name: Linux Kernel Version: 5.15.0-94-generic X Server Vendor: The X.Org Foundation X Server Release: 12101004 X Window Manager: Xfwm4 Steam Runtime Version: steam-runtime_0.20231127.68515 Video Card: Driver: NVIDIA Corporation NVIDIA GeForce RTX 3070 Laptop GPU/PCIe/SSE2 Driver Version: 4.6.0 NVIDIA 535.154.05 OpenGL Version: 4.6 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 60 Hz VendorID: 0x10de DeviceID: 0x249d Revision Not Detected Number of Monitors: 2 Number of Logical Video Cards: 2 Primary Display Resolution: 1920 x 1080 Desktop Resolution: 3840 x 1080 Primary Display Size: 20.75" x 11.65" (23.78" diag), 52.7cm x 29.6cm (60.4cm diag) Primary Bus: PCI Express 16x Primary VRAM: 8192 MB Supported MSAA Modes: 2x 4x 8x 16x Sound card: Audio device: Nvidia GPU 9e HDMI/DP Memory: RAM: 15689 Mb VR Hardware: VR Headset: None detected Miscellaneous: UI Language: English LANG: en_US.UTF-8 Total Hard Disk Space Available: 479118 MB Largest Free Hard Disk Block: 124088 MB Storage: Number of SSDs: 2 SSD sizes: 2000G,512G Number of HDDs: 0 Number of removable drives: 0

Please describe your issue in as much detail as possible:

image

I haven't really changed or updated anything with xfce. This wasn't happening before.

Steps for reproducing this issue:

  1. ALT+TAB on Xubuntu 22.04
  2. ALT+TAB back to Dota 2
sfu69 commented 8 months ago

I've got the same issue on XFCE since 2-3 weeks. I partially solved it by intelligently hiding the panel for now, but it can cause issues when trying to pane the window to bottom.

apaz-cli commented 8 months ago

I'm having this issue too (Debian 12 XFCE). I too have partially solved it, because I have a script that I use to toggle my panel on and off.

The script is just:

pgrep xfce4-panel && xfce4-panel -q || xfce4-panel

With that said, it used to work without having to do that. Something definitely broke in the update.

grizzlei commented 8 months ago

@apaz-cli @sfu69 quickest hack without altering desktop settings is to open video settings, select Use advanced settings checkbox, click Apply without changing anyting then select Use my monitor's current resolution again.

If you are already using Use advanced settings option, just hit apply and it should be fixed.

apaz-cli commented 8 months ago

@grizzlei The problem is that you have to keep constantly doing that every time you alt+tab, and even once you make it fullscreen, XFCE still tries to render the panel on top of the game. Whereas a couple months ago it didn't do that.

jn64 commented 7 months ago

I can't repro on Fedora 38.

$ xfce4-panel --version | head -1
xfce4-panel 4.18.5 (Xfce 4.18)
$ xfwm4 --version | head -1
    This is xfwm4 version 4.18.0 (revision 7e7473c5b) for Xfce 4.18
menos-grande commented 7 months ago

For me, unchecking the box for "Desktop friendly fullscreen minimizes on focus loss" solved the issue.

xfce4-panel 4.18.6 xfwm4 4.18.0 Arch Linux

grizzlei commented 7 months ago

@menos-grande Thanks a lot !!!!

sfu69 commented 7 months ago

@menos-grande was also the solution for my system. TY!