! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Wrong workspace window flashing up


Description BSR 2018-09-06 13:46:40 CEST
I'm running xfce4 4.12.4 on Ubuntu Bionic with six workspaces in 3x2 layout. When working on workspace 2, sometimes, at random, and not seemingly triggered by anything obvious, the image of what's on workspace 1 will appear. The applications running on workspace 2 are still there, its just the bitmap image from workspace 1 has been overlaid. As the applications refresh themselves if I click or mouse around they will restore, and pretty quickly the workspace looks ok again when everything has repainted.

It doesn't happen with multiple workspace systems under Gnome - I've only seen it with XFCE.

I did look for errors in ~/.Xsession-errors but xfce4 doesn't seem to be writing an xsession-errors file - at least I can't find it. I might not be looking in the right place.

XFCE has all the features I want in a desktop without the weight of Gnome which this PC struggles with. Would be nice to fix. Can post system details - its a Dell desktop with two differently-sized monitors connected, if that's relevant...
Comment 1 Andre Miranda editbugs 2018-09-07 01:58:42 CEST
Moving to xfwm4, since it deals with workspaces, so I'm almost sure it's more appropriate than xfdesktop.
With regards to the bug, it's really hard to say from the reported (mis)behavior. Probably ofourdan is more capable than me to figure this out.

In any case, please report the output of xfwm4 -V and tell us which video driver are you using (nvidia, nouveau, intel, mesa...).
Comment 2 BSR 2018-09-07 10:22:22 CEST
xfwm4 -V :

	This is xfwm4 version 4.12.4 (revision 7844952) for Xfce 4.12
	Released under the terms of the GNU General Public License.
	Compiled against GTK+-2.24.31, using GTK+-2.24.32.

	Build configuration and supported features:
	- Startup notification support:                 Yes
	- XSync support:                                Yes
	- Render support:                               Yes
	- Xrandr support:                               Yes
	- Embedded compositor:                          Yes
	- KDE systray proxy (deprecated):               No

I'm running the nouveau driver with Xorg (not Wayland) xserver-xorg-video-nouveau 1:1.0.15-2

I've just switched off display compositing with the xfwm4-tweaks-settings tools to see if that stops it happening - not seen it yet. Will comment again if it happens in which case its not a compositing code problem.

lspci -vvv shows:

01:00.0 VGA compatible controller: NVIDIA Corporation G96GL [Quadro FX 580] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: NVIDIA Corporation G96GL [Quadro FX 580]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 26
	Region 0: Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
	Region 1: Memory at c0000000 (64-bit, prefetchable) [size=512M]
	Region 3: Memory at fa000000 (64-bit, non-prefetchable) [size=32M]
	Region 5: I/O ports at dc80 [size=128]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: [60] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
		Address: 00000000fee01004  Data: 4025
	Capabilities: [78] Express (v2) Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <1us, L1 <4us
			ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 25.000W
		DevCtl:	Report errors: Correctable- Non-Fatal+ Fatal+ Unsupported-
			RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
			MaxPayload 128 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <1us, L1 <1us
			ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
		DevCap2: Completion Timeout: Not Supported, TimeoutDis+, LTR-, OBFF Not Supported
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
		LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
			 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
	Capabilities: [b4] Vendor Specific Information: Len=14 <?>
	Capabilities: [100 v1] Virtual Channel
		Caps:	LPEVC=0 RefClk=100ns PATEntryBits=1
		Arb:	Fixed- WRR32- WRR64- WRR128-
		Ctrl:	ArbSelect=Fixed
		Status:	InProgress-
		VC0:	Caps:	PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
			Arb:	Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
			Ctrl:	Enable+ ID=0 ArbSelect=Fixed TC/VC=01
			Status:	NegoPending- InProgress-
	Capabilities: [128 v1] Power Budgeting <?>
	Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
	Kernel driver in use: nouveau
	Kernel modules: nvidiafb, nouveau
Comment 3 BSR 2018-09-11 17:10:31 CEST
Having used it for a few days with compositing off, I tried switching compositing on and within about a minute the image of Workspace 1 appeared while I was on Workspace 2. Probably not coincidence.

I can work with compositing off until this gets fixed, no urgency. I stopped worrying about opaque windows and multiple desktops on a rotating cube about ten years ago :)
Comment 4 Git Bot editbugs 2020-05-29 12:22:29 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/300.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #14680

Reported by:
Reported on: 2018-09-06
Last modified on: 2020-05-29


Olivier Fourdan
CC List:
1 user




Additional information