When switching the desktop, especially notable between black/dark workspaces, there is always a white screen in between and then the new windows are drawn on top of it again. Would it be possible to draw the new screen on top of the old one, without drawing a white screen in between?
Hello Thomas, By switching workspaces the windows get unmapped/mapped, this is the cause of the "flickering". The windows need to be unmapped when they aren't on the current workspace. Although I don't seem to understand what you mean with "white screen". What desktop application are you running, is it xfdesktop? I don't think there is a "fix" for this. Right Olivier? Regards, Mike
Hi Mike, (In reply to comment #1) > Although I don't seem to understand what you mean with "white screen". A reproducer is: * 2x2 grid of workspaces * having a black Terminal in fullscreen mode on Workspace 1 & 3 * Fast switching between terminal 1&3 with: CTRL+ALT+UP and holding that. What you see then is basicly a white screen, as it seems that when switching the desktops the old windows are unmapped, then a white screen is drawn, then the new ones are mapped. But I don't know where the white screen comes from. > What desktop application are you running, is it xfdesktop? Yes > By switching workspaces the windows get unmapped/mapped, this is the cause > of the "flickering". The windows need to be unmapped when they aren't on the > current workspace. Maybe it's possible to first map the new windows and then unmap the old ones, without having a completely clean (white) screen? (If that's the cause of the white screen.)
Hmm, when not having Terminal in fullscreen, the Terminal is redraws with a white screen like desribed before, but not the xfce4-panel so this might be a bug somewhere else than xfwm... Don't know where...
(In reply to comment #3) > Hmm, when not having Terminal in fullscreen, the Terminal is redraws with a > white screen like desribed before, but not the xfce4-panel so this might be > a bug somewhere else than xfwm... > Don't know where... The panel is visible on all workspaces, and thus is never unmapped, this is also the case when you set a window to be visible on all workspaces. So yes, this side-effect is caused by the remapping. I can't help here more.
xfwm4 already optimize redraws on workspace changes.
This looks like the problem described here https://rogerkeays.com/xfce4-screen-flicker-switching-desktops-solved. Also a similar problem exists when a background image is set. When my terminal window is maximized and I switch to another desktop with another maximized terminal window, xfce first draws the background image and after that redraws it with the maximized terminal window. This is very unpleasant for the eyes.
-- 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/85. 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