Home › Forums › General › Using Ctrlr › Copying cursor is displayed as normal cursor
Tagged: copyingcursor
- This topic has 38 replies, 2 voices, and was last updated 9 years, 3 months ago by dasfaker.
-
AuthorPosts
-
September 3, 2014 at 5:24 pm #28432
If I can help you with the typing let me know.
September 4, 2014 at 4:57 pm #28486For now i’m stuck and i can’t get out, i posted an issue on the github luabind site and sent an email to the old luabind user group and am awaiting any response, if i don’t get any help i might be in deep shit with this…
the issue is at: https://github.com/luabind/luabind/issues/23
the email is at: http://sourceforge.net/p/luabind/mailman/message/32796178/September 8, 2014 at 7:34 pm #28663Hi Atom
I’m still with the drag&drop thing, and there’s something I can’t do.
When I drag from one component to another, I would like the target component draw something just when the mouse enter or move over the component, but it seems there is no repaint until I release the mouse. Is that possible at all?PD: You finally solved the Look&Feel issue, amazing. I’m still here if you need help.
September 8, 2014 at 11:41 pm #28676I think you will need to repaint the parts of the target component yourself by calling repaint() on it.
And yes L&F is solved and i’m implementing it now, it’s going forward i should have an example ready this week i hope.
September 9, 2014 at 1:53 pm #28702This is what I did, but the target component only repaints when I release the mouse. I tried repainting in method “Called when dragging enters this component” and the component is repainted just on enter, fine, but I want the component repainted while I move the mouse over it, so tried repainting in method “Called when dragging happend over this component”, but again the component is repainted only when the mouse enters.
September 9, 2014 at 2:16 pm #28704Here is an example panel i just cooked up (attached). When you drag from the green to the red, does the red get repainted when moving the mouse over it, assuming the mouse button is down (dragging) ?
Attachments:
You must be logged in to view attached files.September 9, 2014 at 3:14 pm #28711No, red is only repainted when I click on it and move the mouse, but not when I drag from green to red.
September 9, 2014 at 4:25 pm #28716Can you try entering EDIT MODE, setting the “Lock panel” option and try in that mode ?
September 9, 2014 at 4:52 pm #28717Yes, it works if in edit mode and green component “component size and position locked” property on, but leaving edit mode it stops working.
September 9, 2014 at 5:56 pm #28720Yeah i get that too, i can’t figure out why. I’ll look at it more @home today.
September 9, 2014 at 6:43 pm #28724I already posted this as a potential bug but only for Linux, there is a thread on the JUCE forum but Jules ignored it (i don’t think he likes linux), i bumped it now with an example project.
September 9, 2014 at 8:03 pm #28728But I’m on XP and it’s happening, so maybe not only Linux related. Let’s see what Jules says.
September 9, 2014 at 10:37 pm #28750The weird thing is that for me on windows 7 it seems to be working.
Now i wonder if it’s an OS issue or is it some situation issue, where something in ctrlr settings is causing this.
September 13, 2014 at 4:47 pm #28915The weird thing is that for me on windows 7 it seems to be working.
I’ve just tested it on Windows 7 and here it doesn’t work.
September 13, 2014 at 5:21 pm #28916Well that’s weird, i have it on my PC here and it’s working very well. Jules is on cppcon right now in the US so i guess he might do something next week when he’s back.
September 16, 2014 at 7:03 pm #29108Well it looks like the drag and drop issue got fixed at least on linux, i’ll test windows xp later today and see if that helped.
December 28, 2014 at 10:52 pm #34436This issue still persists after many revisions, your drag_test.panel example still fails at least on windows 7.
December 29, 2014 at 11:19 am #34454I just opened my test panel on win7. And it seems to work fine, the source drag event starts, the icon shows up, then the green field catches the event and shows it’s coords, also on the lua console i can see that “targetItemDropped” shows up (so Lua gets executed).
What’s not working ?
December 29, 2014 at 12:04 pm #34460On my windows 7 x64 ,if I drag from green to red nothing happens. If I do the same in edit mode, the red square moves. In both cases I don’t see the coords printed.
Green box is set to source and red to target, and red (target) don’t get the drag from green (source) in normal mode, only in edit mode.
-
AuthorPosts
- The forum ‘Using Ctrlr’ is closed to new topics and replies.