Enter and leave events while mouse button depressed
Hi,
As part of my connector work, I have made a change to the type of context item events generated while the left mouse button is depressed. Previously, while this button was pressed, only enter and leave events for the 'clicked' object would be generated. There doesn't seem to be any particular reason for this, and it severly complicated some of the stuff I was doing. Thus, I have modified it to no longer supress these events.
This only effects the events passed to the item handlers in the different tool contexts and shouldn't change the behaviour of manipulation in these tools since most of it is done with knots. Knots are actual objects that hold the mouse focus while they are dragged, so these item entry/leave events aren't generated here anyway. Also, the item handlers in most of the contexts do very little (i.e., change cursors) or just aren't used.
Basically, this change *should* be transparent. I've tested the behaviour of all the tools and can't see any difference, but wanted to mention it here just in case it does cause any problems.
The change is only to src/display/sp-canvas.cpp, between revisions 1.14 and r1.15.
Cheers, Michael
On 8/18/05, Michael Wybrow <mjwybrow@...839...> wrote:
As part of my connector work, I have made a change to the type of context item events generated while the left mouse button is depressed. Previously, while this button was pressed, only enter and leave events for the 'clicked' object would be generated. There doesn't seem to be any particular reason for this, and it severly complicated some of the stuff I was doing. Thus, I have modified it to no longer supress these events.
Btw, is there a hotkey for connector tool? If there is one, could you please add it to the hint on the toolbar? If there is none, could you please assign it? "O" seems to be not in use by any other tool yet.
Alexandre
On Fri, 19 Aug 2005, Alexandre Prokoudine wrote:
Btw, is there a hotkey for connector tool? If there is one, could you please add it to the hint on the toolbar? If there is none, could you please assign it? "O" seems to be not in use by any other tool yet.
No there is currently not a hotkey, but I can certainly add one. Is there any procedure we use for choosing them? It seems all the tools have a Function based hotkey, some with modifiers, and most have a letter based one too. Anyone have suggestions or preferences for what to use? "O" since its the second letter of "Connector" and "C" is taken? "A" for arrows, as some people call connectors?
Thoughts?
Michael
On 8/19/05, Michael Wybrow <mjwybrow@...839...> wrote:
No there is currently not a hotkey, but I can certainly add one. Is there any procedure we use for choosing them? It seems all the tools have a Function based hotkey, some with modifiers, and most have a letter based one too. Anyone have suggestions or preferences for what to use? "O" since its the second letter of "Connector" and "C" is taken? "A" for arrows, as some people call connectors?
Both C and A are already in use
Alexandre
On Fri, 19 Aug 2005, Alexandre Prokoudine wrote:
On 8/19/05, Michael Wybrow <mjwybrow@...839...> wrote:
No there is currently not a hotkey, but I can certainly add one. Is there any procedure we use for choosing them? It seems all the tools have a Function based hotkey, some with modifiers, and most have a letter based one too. Anyone have suggestions or preferences for what to use? "O" since its the second letter of "Connector" and "C" is taken? "A" for arrows, as some people call connectors?
Both C and A are already in use
Oh, I looked in the keys and mouse file and tried "A" in the interface and it didn't seem to be used. What's it used for?
Michael
On 8/19/05, Michael Wybrow <mjwybrow@...839...> wrote:
Both C and A are already in use
Oh, I looked in the keys and mouse file and tried "A" in the interface and it didn't seem to be used. What's it used for?
IIRC, before drawing a new freehand line or a bezier curve, you can press A to append it to the currently selected one. I remember that there were some chnanges in that part of code though.
Alexandre
On 8/19/05, Alexandre Prokoudine <alexandre.prokoudine@...400...> wrote:
IIRC, before drawing a new freehand line or a bezier curve, you can press A to append it to the currently selected one. I remember that there were some chnanges in that part of code though.
That's removed in 0.42, see release notes
participants (3)
-
Alexandre Prokoudine
-
bulia byak
-
Michael Wybrow