! 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 !
desktop switching shows white screen
Status:
RESOLVED: MOVED

Comments

Description Thomas Spura 2012-07-15 19:53:01 CEST
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?
Comment 1 Mike Massonnet editbugs 2012-07-15 21:20:12 CEST
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
Comment 2 Thomas Spura 2012-07-15 21:35:14 CEST
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.)
Comment 3 Thomas Spura 2012-07-20 15:44:30 CEST
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...
Comment 4 Mike Massonnet editbugs 2012-07-20 22:32:22 CEST
(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.
Comment 5 Olivier Fourdan editbugs 2012-07-20 23:17:01 CEST
xfwm4 already optimize redraws on workspace changes.
Comment 6 Petr Svetr 2018-12-31 14:18:02 CET
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.
Comment 7 Git Bot editbugs 2020-05-29 11:51:00 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/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

Bug #9126

Reported by:
Thomas Spura
Reported on: 2012-07-15
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
2 users

Version

Version:
4.10.0

Attachments

Additional information