Screenshots black

Bug #1397301 reported by Tino
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
widelands
Fix Released
High
Unassigned

Bug Description

Pressing F11 to make a screenshot does only produce a black png on windows with current trunk.

Related branches

Revision history for this message
Gabriel Margiani (gamag) wrote :

The same on ArchLinux, even with r2727

Changed in widelands:
status: New → Confirmed
Revision history for this message
GunChleoc (gunchleoc) wrote :

Same in Ubuntu.

Tino (tino79)
Changed in widelands:
assignee: nobody → Tino (tino79)
milestone: none → build19-rc1
importance: Undecided → High
Revision history for this message
SirVer (sirver) wrote : Re: *** GMX Spamverdacht *** [Bug 1397301] Re: Screenshots black

I believe the reason is that we have the alpha all zeros when writing it out. Adding a ignore_alpha flag to save surface to png could maybe already fix this.

> Am 28.11.2014 um 17:57 schrieb Tino <email address hidden>:
>
> ** Changed in: widelands
> Assignee: (unassigned) => Tino (tino79)
>
> ** Changed in: widelands
> Milestone: None => build19-rc1
>
> ** Changed in: widelands
> Importance: Undecided => High
>
> --
> You received this bug notification because you are subscribed to
> widelands.
> https://bugs.launchpad.net/bugs/1397301
>
> Title:
> Screenshots black
>
> Status in Widelands:
> Confirmed
>
> Bug description:
> Pressing F11 to make a screenshot does only produce a black png on
> windows with current trunk.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/widelands/+bug/1397301/+subscriptions

Revision history for this message
Tino (tino79) wrote :

Hm, i was hoping a could fix this, but it did not work:
My hope was to just get a SDL_Surface and use Image_SavePNG() from SDL2_image to create the screenshot, but they are also black :/

Changed in widelands:
assignee: Tino (tino79) → nobody
GunChleoc (gunchleoc)
Changed in widelands:
status: Confirmed → Fix Committed
GunChleoc (gunchleoc)
Changed in widelands:
status: Fix Committed → Confirmed
Tino (tino79)
Changed in widelands:
status: Confirmed → Fix Committed
GunChleoc (gunchleoc)
Changed in widelands:
status: Fix Committed → Fix Released
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build19-rc1.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.