Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150492 - djview from app-text/djvu breaks images with X option "Composite" enabled
Summary: djview from app-text/djvu breaks images with X option "Composite" enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 166016
Blocks:
  Show dependency tree
 
Reported: 2006-10-08 11:15 UTC by rpansky
Modified: 2007-05-22 11:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rpansky 2006-10-08 11:15:31 UTC
The problem only appears, if there is the following line
 Option "Composite" "Enable"
in file /etc/X11/xorg.conf.
At first any djvu file is shown properly, but some gui elements such as menus and the icon in the upper left corner have incorrect colours. Also I can scroll any page down.
http://img128.imageshack.us/img128/3640/snapshot11ar.png
http://img98.imageshack.us/img98/3893/snapshot29sn.png
However, trying to scroll a page up damages the image.
http://img268.imageshack.us/img268/5765/snapshot39qo.png
http://img113.imageshack.us/img113/3041/snapshot45vu.png
After that only the part of the page out of the current visible domain can be correctly shown by scrolling down.
http://img211.imageshack.us/img211/1199/snapshot52zw.png
New request for the page restores the proper image.
This problem appears with all stable djvu version up to 3.5.17.
ddjvu works properly, so I think that it's a gui only problem.
Comment 1 rpansky 2006-10-16 03:13:40 UTC
Some additional information.
1. When I open menus in the djview window, I get some messages like these:
QT Warning: X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  62
  Minor opcode:  0
  Resource id:  0x2800043
QT Warning: X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  62
  Minor opcode:  0
  Resource id:  0x28000ad
QT Warning: X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  62
  Minor opcode:  0
  Resource id:  0x28000ae
QT Warning: X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  62
  Minor opcode:  0
  Resource id:  0x28000b8
2. There is a workaround for the problem.
$ XLIB_SKIP_ARGB_VISUALS=1 djview
works properly with "Composite" enabled.
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2007-04-28 10:48:48 UTC
This bug is very similar to:
http://sourceforge.net/forum/forum.php?thread_id=1607327&forum_id=103285)
And it was reported that this is fixed in currently not in the tree djvu-3.5.19. I'll commit it ASAP. :)
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2007-05-22 11:22:58 UTC
This should be fixed in 3.5.19 which is now in portage. Please, test and reopen if the problem persist.