Quickly:
When you hover over a path in nodetool, it highlights itself briefly like a helperpath. (this means it only works for things that have a helperpath: paths only for now... work in progress i guess) When you leave the object with the mouse, it hides instantly.
I haven't add preferences yet, so you cannot turn it off now, sorry; it's probably pretty annoying if you don't want it. What preferences do people want? - on/off - flash time? - flash color? ( i don't know how to XOR it, so right now it is invisible for red stroked paths ) - show knots aswell?
Thanks for your input, and thanks to Josh for the excellent idea :-)
Johan
J.B.C.Engelen@...1578... wrote:
Quickly:
When you hover over a path in nodetool, it highlights itself briefly like a helperpath. (this means it only works for things that have a helperpath: paths only for now... work in progress i guess) When you leave the object with the mouse, it hides instantly.
I haven't add preferences yet, so you cannot turn it off now, sorry; it's probably pretty annoying if you don't want it. What preferences do people want?
- on/off
- flash time?
- flash color? ( i don't know how to XOR it, so right now it is invisible for red stroked paths )
Not an original idea for the record... it was just because you implemented the temporary canvas stuff that I brought it up. AI folk have requested this for a while and will hopefully like this a lot...
As for Preferences:
on/off - necessary flash time - if on, 0 = infinite/until mouse is moved (with a note there) flash color would be cool if doable show nodes would also be nifty
Nice stuff as always Johan! :)
-Josh
Wow ! That's very neat. The effect is outstanding on a clipped path. Would even look better with clip highlight (in a different color ?). Do you plan to make it work on other shapes as well ? However, I happen more often to have troubles when selecting and object than picking it with the node tool (well, most of the time I select fist then go to node tool).
Do you think it's possible for the selector to benefit from the same treatment ?
(Seriously, inkscape and you guys rocks so hard it's hardly believable.)
2008/3/5, Josh Andler <scislac@...400...>:
J.B.C.Engelen@...1578... wrote:
Quickly:
When you hover over a path in nodetool, it highlights itself briefly
like a helperpath. (this means it only works for things that have a helperpath: paths only for now... work in progress i guess)
When you leave the object with the mouse, it hides instantly.
I haven't add preferences yet, so you cannot turn it off now, sorry;
it's probably pretty annoying if you don't want it.
What preferences do people want?
- on/off
- flash time?
- flash color? ( i don't know how to XOR it, so right now it is
invisible for red stroked paths )
Not an original idea for the record... it was just because you implemented the temporary canvas stuff that I brought it up. AI folk have requested this for a while and will hopefully like this a lot...
As for Preferences:
on/off - necessary flash time - if on, 0 = infinite/until mouse is moved (with a note there) flash color would be cool if doable show nodes would also be nifty
Nice stuff as always Johan! :)
-Josh
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
-----Original Message----- From: Josh Andler [mailto:scislac@...400...] Sent: woensdag 5 maart 2008 23:49 To: Engelen, J.B.C. (Johan) Cc: inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] NEW: flasher when hovering over a path
As for Preferences:
on/off - necessary flash time - if on, 0 = infinite/until mouse is moved (with a note there) flash color would be cool if doable show nodes would also be nifty
I just added preferences: highlight color (is the same color as the path outline when editing an object) flash on/off flash time ( 0 = for ever )
Will look into showing nodes some other time :), probably I'll go back to the snapping indicator for now...
J.B.C.Engelen@...1578... schrieb:
==> When you hover over a path in nodetool, it highlights itself briefly like a helperpath. <==
Cool, good work! Indeed, as Aubanel wrote, this is especially great with clipped paths.
However, I just tried it and thought the new feature was extremely buggy until I discovered that I had drawn a path whose fill color was set to white (so it wasn't apparent that its interior was filled). Then when I moved the mouse on canvas, the flashing seemed to randomly appear and disappear. Of course, it always appeared when I was over the filled part and disappeared when I left the filled area but that was not immediately clear to me because I expected it to appear only when I was near the actual path.
So my question is: Would it be possible to let the flashing occur only when the mouse pointer is near the path's stroke? Otherwise it can even happen that you move the pointer near the path but the flashing _doesn't_ appear (for example, when you have a nearly circular filled path; when you enter the filled area, it flashes, but when you afterwards approach the path from the inside, it doesn't).
Thanks and cheers, Max
Maximilian,
Awesome! That is helpful, and I also think it would be helpful to have something like that on the generic selection tool (of course turned off be default, but available).
I don't have the same problem with the selection not being highlighted when coming out from the middle of the path - maybe you fixed it before I grabbed svn...
One request I would make is to either make the highlight period longer (say, twice as long as current) or give the option to set a time/indefinite time highlight length.
Thanks!
JF
Maximilian Albert wrote:
J.B.C.Engelen@...1578... schrieb:
==> When you hover over a path in nodetool, it highlights itself briefly like a helperpath. <==
Cool, good work! Indeed, as Aubanel wrote, this is especially great with clipped paths.
However, I just tried it and thought the new feature was extremely buggy until I discovered that I had drawn a path whose fill color was set to white (so it wasn't apparent that its interior was filled). Then when I moved the mouse on canvas, the flashing seemed to randomly appear and disappear. Of course, it always appeared when I was over the filled part and disappeared when I left the filled area but that was not immediately clear to me because I expected it to appear only when I was near the actual path.
So my question is: Would it be possible to let the flashing occur only when the mouse pointer is near the path's stroke? Otherwise it can even happen that you move the pointer near the path but the flashing _doesn't_ appear (for example, when you have a nearly circular filled path; when you enter the filled area, it flashes, but when you afterwards approach the path from the inside, it doesn't).
Thanks and cheers, Max
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
-----Original Message----- From: inkscape-devel-bounces@lists.sourceforge.net [mailto:inkscape-devel-bounces@lists.sourceforge.net] On Behalf Of Joshua Facemyer / Impressus Art Sent: donderdag 6 maart 2008 15:03 To: Maximilian Albert Cc: inkscape-devel@lists.sourceforge.net; Engelen, J.B.C. (Johan) Subject: Re: [Inkscape-devel] NEW: flasher when hovering over a path
Maximilian,
Awesome! That is helpful, and I also think it would be helpful to have something like that on the generic selection tool (of course turned off be default, but available).
To answer Aubanel as well: yes I think it is possible; I'll have a look.
I don't have the same problem with the selection not being highlighted when coming out from the middle of the path - maybe you fixed it before I grabbed svn...
I think Max meant it in the context of what he proposed.
One request I would make is to either make the highlight period longer (say, twice as long as current) or give the option to set a time/indefinite time highlight length.
Just committed it! See the node tool preferences.
Cheers, Johan
-----Original Message----- From: Maximilian Albert [mailto:Anhalter42@...173...] Sent: donderdag 6 maart 2008 0:33 To: Engelen, J.B.C. (Johan) Cc: inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] NEW: flasher when hovering over a path
J.B.C.Engelen@...1578... schrieb:
==> When you hover over a path in nodetool, it highlights itself briefly like a helperpath. <==
Cool, good work! Indeed, as Aubanel wrote, this is especially great with clipped paths.
However, I just tried it and thought the new feature was extremely buggy until I discovered that I had drawn a path whose fill color was set to white (so it wasn't apparent that its interior was filled). Then when I moved the mouse on canvas, the flashing seemed to randomly appear and disappear. Of course, it always appeared when I was over the filled part and disappeared when I left the filled area but that was not immediately clear to me because I expected it to appear only when I was near the actual path.
So my question is: Would it be possible to let the flashing occur only when the mouse pointer is near the path's stroke? Otherwise it can even happen that you move the pointer near the path but the flashing _doesn't_ appear (for example, when you have a nearly circular filled path; when you enter the filled area, it flashes, but when you afterwards approach the path from the inside, it doesn't).
Actually, this is a lot more complicated I am afraid. Basically there is this function that is called every time you mouseover an item (including fill), so right now I put my code there. I am not sure how much CPU it would add to check whether I am close to its stroke or not. It is definitely worth looking into though.
I encourage others to try and improve the flashing. Don't be afraid of disrupting some development I might be doing. (I almost always commit code right away, almost never that I stop and continue the next day, so you can always modify code I might be working on.)
Cheers, Johan
- flash color? ( i don't know how to XOR it, so right now it is invisible
for red stroked paths )
you could make it appear under the real path with a greater stroke width so that you can always notice it. When the color is the same, the path would be "highlighted" by its apparent change in stroke width.
Juca
participants (6)
-
unknown@example.com
-
Aubanel MONNIER
-
Felipe Sanches
-
Josh Andler
-
Joshua Facemyer / Impressus Art
-
Maximilian Albert