Bug 1634453 - SDL2 full screen application content remains on screen after exit when using wayland driver
Summary: SDL2 full screen application content remains on screen after exit when using ...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: SDL2
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Igor Raits
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-30 22:36 UTC by gcx61
Modified: 2019-05-28 22:41 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-05-28 22:41:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Sample code showing issue (951 bytes, text/x-csrc)
2018-09-30 22:36 UTC, gcx61
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.