! 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 !
flicker when switching desktop


Description Petr Svetr 2018-12-31 14:20:18 CET
When my terminal window is maximized and I switch to another desktop which also has a maximized terminal window on it, xfce first draws the background image and then redraws it with the terminal window.
This is causes a flicker and is very unpleasant for the eyes.

Related reports:
Comment 1 Andre Miranda editbugs 2018-12-31 20:06:16 CET
I can see the issue, but I don't think it is related to xfdesktop or xfce4-terminal, I can reproduce without the former running (xfdesktop -Q) and only with firefox windows on two workspaces. While testing with terminal windows (0.95 opacity) over firefox windows, I can briefly see conky appearing.

The situation improves with compositor off, but I get flickering due v-sync issues while switching workspaces with terminal windows. I suspect it's something on xfwm4 side, but can't confirm that.
Comment 2 Petr Svetr 2019-02-12 17:05:56 CET
Is there anything I could to help solve this issue?
Comment 3 Petr Svetr 2019-02-17 20:14:31 CET
Looking in the source code in xfwm4/src/workspaces.c, it seems that workspaceSwitch() does the correct thing: first shows the new windows, then hides the old ones:

    /* First pass: Show, from top to bottom */
    for (list = g_list_last(screen_info->windows_stack); list; list = g_list_previous (list))

    /* Second pass: Hide from bottom to top */
    for (list = screen_info->windows_stack; list; list = g_list_next (list))

Any ideas where to look next would be much appreciated!
Comment 4 Git Bot editbugs 2020-05-29 12:24:28 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/314.

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 #15002

Reported by:
Petr Svetr
Reported on: 2018-12-31
Last modified on: 2020-05-29


Eric Koegel
CC List:
1 user




Additional information