Bug 1634453

Summary: SDL2 full screen application content remains on screen after exit when using wayland driver
Product: [Fedora] Fedora Reporter: gcx61
Component: SDL2Assignee: Igor Raits <igor.raits>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: dingyichen, igor.raits, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-28 22:41:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Sample code showing issue none

Description gcx61 2018-09-30 22:36:49 UTC
Created attachment 1488760 [details]
Sample code showing issue

Description of problem:
When SDL2 full screen application closes, it content remains on screen covering almost all. Application closing properly, because no process is run after exit. System is still usable but you can't see what you're doing. Even lock screen is covered by frozen SDL content. GNOME panel menus (e.g. calendar) is not covered and it's visible. This problem only exist when using wayland video driver (SDL_VIDEODRIVER=wayland variable). With X11 driver everything is fine.

Version-Release number of selected component (if applicable):
SDL2-2.0.8-5.fc28.x86_64


How reproducible:
Install SDL2-devel, download attached sample code, save it as .c file and compile it by command:
gcc -o sdl2test sdl2test.c -lSDL2

Switch to Wayland session and run compiled code from terminal by command:
SDL_VIDEODRIVER=wayland ./sdl2test

Steps to Reproduce:
1. Run SDL2 application on full screen using wayland driver
2. Exit application

Actual results:
Application content remains on screen but application exited successfully (no errors or frozen process).

Expected results:
Application content disappear after applications exited. 

Additional info:
Tested on Intel HD 520 GPU with Mesa 18.0.5.

Comment 1 Ben Cotton 2019-05-02 20:46:38 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Ben Cotton 2019-05-28 22:41:25 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.