FS#17984 - [compiz] screenshot doesn't save anything anymore.

Attached to Project: Community Packages
Opened by Frederic Bezies (fredbezies) - Sunday, 24 January 2010, 12:02 GMT
Last edited by Ionut Biru (wonder) - Saturday, 30 January 2010, 12:53 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Ronald van Haren (pressh)
Ionut Biru (wonder)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description: I think it could be related to libpng 1.4.0 and/or jpeg8 transition. When I try to do a screenshot using the shortcut defined in CompizConfigSettingManager, nothing is saved.

Additional info:

fred ~ $ pacman -Si compiz-fusion-plugins-main
Dépôt : community-testing
Nom : compiz-fusion-plugins-main
Version : 0.8.4-2
URL : http://opencompositing.org
Licences : GPL
Groupes : compiz-fusion compiz-fusion-kde compiz-fusion-gtk
Fournit : --
Dépend de : compiz-core>=0.8.4 libjpeg>=7 librsvg
compiz-bcop>=0.8.4 libxdamage

fred ~ $ pacman -Si compiz-core
Dépôt : community-testing
Nom : compiz-core
Version : 0.8.4-2
URL : http://www.go-compiz.org/
Licences : GPL LGPL MIT
Groupes : compiz compiz-kde compiz-gtk compiz-fusion
Fournit : --
Dépend de : startup-notification librsvg libgl dbus mesa
libxslt fuse


Steps to reproduce:just upgrade to last testing version of compiz packages. And try to do a screenshot using shortcut defined in CCSM.
This task depends upon

Closed by  Ionut Biru (wonder)
Saturday, 30 January 2010, 12:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.8.4-3
Comment by Gerardo Exequiel Pozzi (djgera) - Sunday, 24 January 2010, 15:54 GMT
  • Field changed: Summary (Compiz screenshot doesn't save anything anymore. → [compiz] screenshot doesn't save anything anymore.)
  • Field changed: Status (Unconfirmed → Assigned)
  • Field changed: Category (Packages → Packages: Testing)
  • Task assigned to Ronald van Haren (pressh)
use -Qi to view version installed on your system, -Si shows what is in repos.
Comment by Frederic Bezies (fredbezies) - Sunday, 24 January 2010, 16:01 GMT
fred ~ $ pacman -Qi compiz-fusion-plugins-main
Nom : compiz-fusion-plugins-main
Version : 0.8.4-2
URL : http://opencompositing.org
Licences : GPL
Groupes : compiz-fusion compiz-fusion-kde compiz-fusion-gtk
Fournit : --
Dépend de : compiz-core>=0.8.4 libjpeg>=7 librsvg
compiz-bcop>=0.8.4 libxdamage

And :

fred ~ $ pacman -Qi compiz-core
Nom : compiz-core
Version : 0.8.4-2
URL : http://www.go-compiz.org/
Licences : GPL LGPL MIT
Groupes : compiz compiz-kde compiz-gtk compiz-fusion
Fournit : --
Dépend de : startup-notification librsvg libgl dbus mesa
libxslt fuse

Forgot to say I'm a testing addict user ;)
Comment by Frederic Bezies (fredbezies) - Wednesday, 27 January 2010, 21:04 GMT
Some more infos : windows border are not drawn anymore when I check png support in CCSM. Could it be a libpng 1.4.0 transition bug ?
Comment by Frederic Bezies (fredbezies) - Saturday, 30 January 2010, 09:13 GMT
Try to rebuild compiz-core on my testing enabled system, and nothing better happened :(

It seems there is a thread opened on archlinux.org forum : http://bbs.archlinux.org/viewtopic.php?id=89768
Comment by Frederic Bezies (fredbezies) - Saturday, 30 January 2010, 09:30 GMT
And I saw this in arch-general mailing list. Could be a clue ?

"Both pastebins only available for a month. Interesting line (in my
unexperienced opinion) in the first log is line 1914:-
7720: /usr/lib/compiz/libpng.so: error: symbol lookup error:
undefined symbol: png_check_sig (fatal)
compiz: symbol lookup error: /usr/lib/compiz/libpng.so: undefined
symbol: png_check_sig"

So it needs a patch or an upstream update ?
Comment by Eric Belanger (Snowman) - Saturday, 30 January 2010, 10:16 GMT
it needs a patch to replace
png_check_sig(buf, 8)
by
!png_sig_cmp(buf, 0, 8)
Comment by Ionut Biru (wonder) - Saturday, 30 January 2010, 11:41 GMT
wow i didn't even noticed this bug.
Comment by Ionut Biru (wonder) - Saturday, 30 January 2010, 11:49 GMT
please test 0.8.4-3
Comment by Frederic Bezies (fredbezies) - Saturday, 30 January 2010, 12:09 GMT
Working for me. Thanks for the fix :)
Comment by Ionut Biru (wonder) - Saturday, 30 January 2010, 12:11 GMT
that was fast:D.
Comment by Ng Oon-Ee (ngoonee) - Saturday, 30 January 2010, 12:52 GMT
Works for me as well, thanks wonder =)

Loading...