xfwm4 4.13 & 4.14 Weird frame or border and window buttons on the in focus top level window.
Submitted by str..@..uta.io
Assigned to Olivier Fourdan
This was not a problem in 4.12 packaged versions, but has been visible since 4.14 was introduced to Artix. xfwm4 --replace 2>&1 & sees the effect disappear until the next reboot, also changing the theme in the settings menu does this. All 4 default themes show the effect. Chromium is not affected. Hovering on the buttons with wrong icons reveals correct icons below. I think probably a graphics call is made too early in the boot process that fails, and the result is stored and not checked later when it is used. It must work properly later when the graphics stack is fully available. Also it might be a race condition so not everyone gets this.
I rebuilt xfce4 packages to try and find the point the problem appeared. Downgrading packages broke things at various points. Installed extra terminal apps, xfce4 terminal works with below versions though. I took most stuff to 4.14pre1 that was well defined, then took xfwm4 and it's deps a bit further, it's other deps hadn't changed much. Resulting versions in use that functioned with both xfwm4 4.13 and 4.13.1 : Using Artix Linux Open RC, up to date except: libxfce4ui tag=libxfce4ui-4.13.1 libxfce4util tag=xfce-4.14pre1 xfce4-dev-tools tag=xfce4-dev-tools-4.13.0 xfce4-panel tag=xfce-4.14pre1 xfce4-session tag=xfce-4.14pre1 xfce4-settings tag=xfce-4.14pre1 xfconf tag=xfconf-4.13.1 xfdesktop tag=xfce-4.14pre1
xfwm4 tag=xfwm4-4.13.0 (Working version, normal border & buttons) tag=xfwm4-4.13.1 (Odd looking border & buttons, from here up to xfwm4-git-4.14.0+18+g5ea89cb9-1 git head ~2019-10-08)
Then I tried narrowing it down more to a commit level looking at the 4.14 history: https://git.xfce.org/xfce/xfwm4/log/?h=xfce-4.14&ofs=450 It was introduced between these two commits: https://git.xfce.org/xfce/xfwm4/commit/?h=xfce-4.14&id=89c29f54d2967a1a174db30de877faa1e02b62d5 https://git.xfce.org/xfce/xfwm4/commit/?h=xfce-4.14&id=574ea24bceddde438c1d30aae5abe0b1e314e82a The intermediate commits won't build so that is as close as I can get.
$ inxi -b
System: Host: ax Kernel: 5.3.5-artix1-1-ARTIX x86_64 bits: 64 Desktop: Xfce 4.13.4 Distro: Artix Linux
Machine: Type: Portable System: Dell product: Precision M4400 v: N/A serial:
Mobo: Dell model: 0NY980 serial:
<root required> BIOS: Dell v: A29 date: 06/04/2013
Battery: ID-1: BAT0 charge: 69.7 Wh condition: 69.7/73.3 Wh (95%)
CPU: Dual Core: Intel Core2 Duo T9900 type: MCP speed: 798 MHz min/max: 800/3068 MHz
Graphics: Device-1: NVIDIA G96GLM [Quadro FX 770M] driver: nouveau v: kernel
Display: tty server: X.Org 1.20.5 driver: nouveau resolution: 1440x900~60Hz
Message: Unable to show advanced data. Required tool glxinfo missing.
Network: Device-1: Intel 82567LM Gigabit Network driver: e1000e
Device-2: Intel Ultimate N WiFi Link 5300 driver: iwlwifi
Drives: Local Storage: total: 111.79 GiB used: 27.31 GiB (24.4%) < that's an SSD
Info: Processes: 189 Uptime: 2h 26m Memory: 7.77 GiB used: 368.2 MiB (4.6%) Shell: bash inxi: 3.0.26
With the earlier 4.13 versions of xfwm4 there was short bit of random color across the whole screen before the desktop started. That splash flash is fixed later but may be from a similar cause? The 'wrong' window buttons look a bit different in early 4.13 too. Pictures of the various effects linked below, mousepad on the white background is 4.13 as is the random color effect. The rest are 4.14. Very occasionally it will look different for a boot, with a finer patterned border or a black close button.