Bug 1486399 - cpanel.png causes spurious blue bar at the bottom of the game screen
Summary: cpanel.png causes spurious blue bar at the bottom of the game screen
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pioneer
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Antonio T. (sagitter)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-29 16:05 UTC by Lorenzo J. Lucchini
Modified: 2017-09-10 14:16 UTC (History)
2 users (show)

Fixed In Version: pioneer-20170827-2.fc26 pioneer-20170827-2.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-09 23:51:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Replacement cpanel.png provided by Pioneer developer (212 bytes, image/png)
2017-08-29 16:05 UTC, Lorenzo J. Lucchini
no flags Details

Description Lorenzo J. Lucchini 2017-08-29 16:05:37 UTC
Created attachment 1319665 [details]
Replacement cpanel.png provided by Pioneer developer

Since several months, the Pioneer package shipped by Fedora (but not the official downloads shipped by https://pioneerspacesim.net/) has a graphical glitch on my Intel Baytrail and Skylake computers, as shown in this screenshot:
  https://framapic.org/RMd2xuniT2lU/6DN3lCbFVGXx.png

This occurs in the flight view but not in the game's intro or other screens. Pioneer developers have indicated it seemed to be a problem with the shipped /usr/share/pioneer/icons/cpanel.png file, and provided me a replacement which I am attaching to this bug (the replacement is a smaller file, 212 bytes against the 662 of the one shipped by Fedora).

This replacement cpanel.png appears to fully solve the problem.

The issue is currently occurring for me with pioneer-data version 20170827 release 1.fc28, but the situation has been the same since at least Fedora 26.

Comment 1 Antonio T. (sagitter) 2017-08-29 16:18:49 UTC
Thank you for feedback, Lorenzo.

Comment 2 Antonio T. (sagitter) 2017-08-29 16:22:24 UTC
> Pioneer developers have indicated it seemed to be a problem with the shipped 
> /usr/share/pioneer/icons/cpanel.png file, and provided me a replacement which I > am attaching to this bug (the replacement is a smaller file, 212 bytes against > the 662 of the one shipped by Fedora).

Does exist a bug ticket on upstream support?

Comment 3 Lorenzo J. Lucchini 2017-08-29 17:48:58 UTC
There is no ticket upstream, because the problem does not happen upstream for me or other people I know.
When I run the upstream binaries, the problem does not occur, and the game view is correct; the blue bar is only present with Fedora's own packages (pioneer, pioneer-data).

Pioneer developers have confirmed, when I talked to them, that to the best of their knowledge, the issue is not on their side as they are not aware of having ever shipped a faulty cpanel.png.

Comment 4 Lorenzo J. Lucchini 2017-08-29 18:23:53 UTC
I also noticed that the two files are different types of images:

$ file /usr/share/pioneer/icons/cpanel*
/usr/share/pioneer/icons/cpanel.png:     PNG image data, 1600 x 160, 1-bit colormap, non-interlaced
/usr/share/pioneer/icons/cpanel.png.old: PNG image data, 1600 x 160, 8-bit grayscale, non-interlaced

$ identify -verbose /usr/share/pioneer/icons/cpanel.png | grep Software
    Software: www.inkscape.org
$ identify -verbose /usr/share/pioneer/icons/cpanel.png.old | grep Software
$ 

cpanel.png is the one Pioneer developers gave me; cpanel.png.old is the one shipped in Fedora's pioneer-data.

Comment 5 Antonio T. (sagitter) 2017-08-29 18:54:57 UTC
I suspect that stripping is causing this problem, it's the one point where .png files are processed:

--> https://src.fedoraproject.org/rpms/pioneer/blob/master/f/pioneer.spec#_121

Comment 6 Antonio T. (sagitter) 2017-08-29 19:03:29 UTC
Please, test this new build when ready: https://koji.fedoraproject.org/koji/taskinfo?taskID=21533076

Comment 7 Antonio T. (sagitter) 2017-08-30 10:56:29 UTC
(In reply to Antonio Trande from comment #5)
> I suspect that stripping is causing this problem, it's the one point where
> .png files are processed:
> 
> -->
> https://src.fedoraproject.org/rpms/pioneer/blob/master/f/pioneer.spec#_121

Confirmed:

$ identify -verbose /usr/share/pioneer/icons/cpanel.png | grep Software
    Software: www.inkscape.org
$ file /usr/share/pioneer/icons/cpanel*
/usr/share/pioneer/icons/cpanel.png: PNG image data, 1600 x 160, 1-bit colormap, non-interlaced

Comment 8 Fedora Update System 2017-09-01 11:55:50 UTC
pioneer-20170827-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-c855d31065

Comment 9 Fedora Update System 2017-09-01 12:54:05 UTC
pioneer-20170827-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-b44236ee1b

Comment 10 Fedora Update System 2017-09-09 23:51:58 UTC
pioneer-20170827-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2017-09-10 04:52:29 UTC
pioneer-20170827-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Lorenzo J. Lucchini 2017-09-10 14:16:18 UTC
I had been unable to test the new pioneer-data after it was pushed to Rawhide repos due to being on limited data while on vacation.

I have tested it now and the problem seems RESOLVED, as the file now included is the following:

$ md5sum /usr/share/pioneer/icons/cpanel.png
31ed144240c8651199e2b0a4653c09c3  /usr/share/pioneer/icons/cpanel.png


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