Alt-mousewheel scroll selection breaks transparency

Bug #1159899 reported by Kelvin Song
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Low
Unassigned

Bug Description

After using Alt-mousewheel scroll selection, all objects with opacity values that were cycled through become 100% opaque. They go back to normal if you move them a little and refresh the display. In addition, when cycling, instead of temporarily multiplying the opacities of other objects in the way by 50%, it just sets the opacity to 50. This has the effect of making near-transparent objects appear more opaque, instead of less opaque.

I'm using Inkscape 0.48+devel r.

How to reproduce the bug

1 Open test file (or create your own with several overlapping objects with varying opacities)
2 Use Alt-Scroll selection to cycle through all the objects in the stack. The non-selected objects will all become 50% opaque, regardless of their opacity before.
3 Release the alt key. Every object will display as 100% opaque, even the ones that were originally semi-transparent.
4 If you interrupt the cycling (for example, by right clicking before releasing the alt key), all the objects will be stuck at 50% opacity.
5 Reset all the opacities back to normal by moving the objects.

Tags: selection ui
Revision history for this message
Kelvin Song (kelvinsong) wrote :
Revision history for this message
jazzynico (jazzynico) wrote :

Confirmed on Debian testing, Inkscape trunk revision 12265.

Changed in inkscape:
importance: Undecided → Low
status: New → Triaged
tags: added: selection ui
Revision history for this message
su_v (suv-lp) wrote :

Duplicate of bug #1092374 “alt + scroll to select messes up opacity”?

Revision history for this message
insaner (insaner) wrote :

hey kelvin, please test the patch there, and if that works for you, can you mark as duplicate, and i will check in the changes

Revision history for this message
Kelvin Song (kelvinsong) wrote :

Sorry, I do not know how to test a patch, but if you're talking about trunk, it's still not fixed.

Revision history for this message
insaner (insaner) wrote :

hmm.. sorry about not answering, i thought launchpad would let me know automatically if someone replied.

to test a patch you can just download the patch to your inkscape src directory and run the command:

bzr patch bzrdiff-opacityfix-insaner2.diff

then compile, then test, and report back to us

Revision history for this message
Kelvin Song (kelvinsong) wrote :

I managed to compile and test—yes the patch fixes the bug !

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

Other bug subscribers

Bug attachments

Remote bug watches

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