Hi,
Happy belated new year, everyone! I'm finally back to a decent internet connection so further replies should happen much more promptly. :) I have just committed a one-line change which should hopefully fix the opacity issue. However, it tampers with the internal property 'render_opacity' of NRArenaItem, which I don't really understand, so there is a risk of introducing other bugs further down the line. Thus I'd be very grateful if some expert in this portion of the code base could comment on whether this is the right thing to do or not.
Has anyone had any other problems with the new feature or seen any crashes recently? Max
2010/12/28 Maximilian Albert <maximilian.albert@...1439...>:
Hi,
thanks for the helpful feedback, everyone! This is the first time I've had internet access since before Christmas and I'm likely to be offline for another week or so, but I'll keep looking into the things you mentioned. I haven't been able to reproduce the crash I noticed a while ago but indeed found an uninitialized pointer, so perhaps this already fixes it. Regarding the reduced opacity not working under certain circumstances, I'll have another look but I don't really know what the proper way of temporarily changing an items opacity is. At the moment I'm just using nr_arena_item_set_opacity(...), but that was a pure guess which seemed to work. Hints as to the proper method would be appreciated.
A happy new year to everyone and see you in 2011 when I'm back online! Max
2010/12/23 Josh Andler <scislac@...400...>:
On Thu, Dec 23, 2010 at 8:12 AM, Maximilian Albert <maximilian.albert@...1439...> wrote:
2010/12/22 ~suv <suv-sf@...58...>:
Great feature :) - haven't tested in depth though for further feedback because Inkscape immediately crashes/hangs if the mouse pointer is moved just a little bit while 'Alt' is still pressed and one object is selected while the other ones stacked below the pointer area are rendered with reduced opacity.
Good catch! Sorry that I didn't notice this problem before, but as I just found out my laptop's touchpad freezes the mouse pointer position while scrolling so the crash didn't occur on my laptop. Should be fixed in bzr rev. 9980.
It appears to not do the opacity stuff unless both a fill and a stroke are set. I've tried and ~suv confirmed that either one alone will not work. she also mentioned that even if you have a filled object with the stroke set and stroke size is zero it won't work either.
Cheers, Josh
P.S. Great feature, already getting used to it in my workflow. :)