Bug 1884060

Summary: Exiting full screen leaves screens mirrored
Product: [Fedora] Fedora Reporter: jamie <mail>
Component: dosboxAssignee: François Cami <fdc>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 31CC: abiagion, andreas.bierfert, dreamer.tan+fedora, fdc
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-01 15:57:48 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:

Description jamie 2020-09-30 21:38:02 UTC
Description of problem:
After going to "fullscreen" mode and then back again my two monitors are mirrored(displaying the exact same thing) 

Version-Release number of selected component (if applicable):
0.74-3

How reproducible:
Allway but I only saw this recently maybe my config file changed(ask if you need this). 

Steps to Reproduce:
1.Start Dosbox
2.Go fullscreen or let it go full screen(depdending on the config file) 
3.Exit the program 

Actual results:
My two displays are mirrored 

Expected results:
It should remember the position and resolution of my two displays. 

Additional info:
Not sure it could be an SDL bug. I also use XFCE and Xwindows(not Waylad)

Comment 1 Patryk Obara 2020-10-01 02:47:30 UTC
(In reply to jamie from comment #0)
> Not sure it could be an SDL bug. I also use XFCE and Xwindows(not Waylad)

Yes, this is SDL 1.2 bug :( SDL 1.2 is unmaintained since 2013 (SDL devs urge everyone to move on to 2.0), but it's extremely unlikely that DOSBox team will ever upgrade.

This problem affects Fedora 32 as well (and I guess nothing changes for rawhide - there will be no new SDL 1.2 release and new "official" DOSBox release is very unlikely).

You can test https://dosbox-staging.github.io/downloads/linux/ - it fixes this problem; dosbox-staging is ported to SDL 2.0 and resolves other issues as well. We don't have rpm packages (yet), but maybe it's time to address it? :)

@fdc
I have some experience with rpm packaging - if I'll write a spec file, would you be willing to review/sponsor me for maintainer of dosbox-staging package in Fedora?

Comment 2 François Cami 2020-10-01 06:05:13 UTC
Patryk,

Thanks for handling this so quickly.

If you write the spec file for dosbox-staging I'll review it, so feel free to assign the review bug to me. I am not a sponsor, but that can be easily worked around.

Please be aware of:
https://fedoraproject.org/wiki/How_to_get_sponsored_into_the_packager_group#Submitting_quality_new_packages
Especially:
"If you are an upstream author of the package you are submitting or if you are active in the community that surrounds it, please say so."

I'll gladly co-maintain the resulting package if you like. In this case please mention that as well.

François

Comment 3 jamie 2020-10-01 14:18:58 UTC
Yes the staging version of Dosbox fixeses the bug for me.

Comment 4 François Cami 2020-10-01 14:34:22 UTC
Jamie, thanks for the report and for coming back to us.
Would you mind if I closed this bug WONTFIX?
We'll work on getting dosbox-staging in ASAP.

Comment 5 jamie 2020-10-01 15:55:36 UTC
Great!

Comment 6 François Cami 2020-10-01 15:57:48 UTC
Cool, thanks!
Patryk, let me know when ready please.
Closing as WONTFIX for reasons exposed above.

Comment 7 Patryk Obara 2020-10-02 12:47:59 UTC
Package review: https://bugzilla.redhat.com/show_bug.cgi?id=1884608