01-10-2014 06:28 AM
I'm developing an app that requires moving an image by finger. the problem is that when trying to move the image to the right, the context menu at the left appears also when i try to move the image up, the action bar moves up also! i tried to set the propagation mode of the parent container of the image to PassThrough but this does not help.
i'm using Dev Alpha C for OS 10.2.
Any way to disable these default touch interactions?
Solved! Go to Solution.
01-10-2014 06:39 AM
The context menu should only show up for an object you have actually specified one for, are you wanting to have both drag and drop and context oprion functions on the same object?
01-10-2014 06:56 AM
Sorry, maybe i misused the term "Context Menu".. to make things clear here is exactly what i mean,... when i trying to move the line image to the right, this menu on the left appear!
01-10-2014 07:04 AM - edited 01-10-2014 07:10 AM
Okay this is a known issue and one that actually I've been working with BlackBerry for a while on.
The JIRA report I entered many moons ago is here...
The option is to either accept that this will happen but that it has been improved in later versions of the OS.
Or to disable peek on that page which can be done by setting the navigationPane's peekEnabled property...
01-10-2014 07:16 AM - edited 01-10-2014 07:22 AM
thank you! ..setting peekEnabled of the TabbedPane to be false solves the problem of moving right.
The remaining is the problem of moving up in which the title bar shown above "Dimensions" is also moving up!
01-10-2014 07:23 AM - edited 01-10-2014 07:25 AM
If so then you can set the scroll behaviour of the TitleBar to sticky to stop it scrolling off the top of the screen...
You also might like to manage your QML scene graph better to fit the screen size for the device it is on exactly so that scrolling isn't invoked by accident.
On the keyboard devices the default for TitleBar is NonSticky on larger screen devices it is Sticky.