Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scatter not configureable for desktop #3563

Closed
rainbowdesign opened this issue Aug 6, 2015 · 6 comments
Closed

Scatter not configureable for desktop #3563

rainbowdesign opened this issue Aug 6, 2015 · 6 comments
Labels
Component: Widgets kivy/uix, style.kv Type: Feature Issue is a feature request

Comments

@rainbowdesign
Copy link
Contributor

Hello,
i would like to use scatter on desktop with a custom configuration:
Move in the scatter when holding right mouse and moving it,
Scale when holding both mouse keys and moving the mouse.

Now scatter seems to be focused on multitouch and does provide little support for more traditional input methods also there seems no alternative to scatter which means kivy has no widget to scale rotate and zoom on Desktop at all.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@tshirtman
Copy link
Member

1/ what does "Move in the scatter when holding right mouse and moving it" means? does it mean moving the scatter itself, or somehow interacting with scatters content?

2/ i think i would rather use scrollweel to zoom in/out of the scatter at a certain position, that shouldn't be very hard to achieve by overriding on_touch_down and checking if it's a mouse event, and if so if the button is scroll up/down, then adapting the pinch-to-zoom algo to use touch pos as zoom center, and a set value for scaling.

@tshirtman tshirtman added Component: Widgets kivy/uix, style.kv Type: Feature Issue is a feature request labels Aug 6, 2015
@tito
Copy link
Member

tito commented Aug 6, 2015

I think this should be a new widget, not a change to the current one.

@tshirtman
Copy link
Member

Hm, then maybe it would make sense to split Scatter into a Behavior and an Instruction (that would take the scale/pan/rotate properties), and logic, to be able to reuse both the scale/rotate/pan matrix manipulation, and the pinch/slide UX interface (with different effects)?

@rainbowdesign
Copy link
Contributor Author

Well i think it would be best if i can use the same widget on desktop and on mobile so i like tshirtmans approach.
However i dont know the benefits of either solution other than this.

1/ what does "Move in the scatter when holding right mouse and moving it" means? does it mean moving the scatter itself, or somehow interacting with scatters content?

The same interaction that happens now when pointing on the scatter content pressing and holding left mouse button and move it. (instead moving the content with left mouse button move the scatter content with right mouse button)

2/ i think i would rather use scrollweel to zoom in/out of the scatter at a certain position, that shouldn't be very hard to achieve by overriding on_touch_down and checking if it's a mouse event, and if so if the button is scroll up/down, then adapting the pinch-to-zoom algo to use touch pos as zoom center, and a set value for scaling.

I suggest to adapt it so the programmer can use both. This ISSUE is NOT about adding default settings only but also about being able to DEFINE the behavior as USER. Maybe i want to give my Program just settings to switch between wheel and right&left mouse button.
Also for standart settings mouse wheel feels more natural but not all mouses have a wheel.

I hope i was able to express what i mean in short the Keys and Buttons to control scatter should be Customizable.

@rainbowdesign
Copy link
Contributor Author

Oh also i want to add following: when using scatter with buttons it seems the buttons catch the click even when dragging.
That is also why i want to use rightmouse .for "translating"

@rainbowdesign
Copy link
Contributor Author

To #3565
So it is a classic beginner mistake? Will come back again and again? How about making it more intuitive then maybe just fit the scatter so this issue will never arise at all.

@dessant dessant closed this as completed Aug 7, 2015
@kivy kivy locked and limited conversation to collaborators Aug 7, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Component: Widgets kivy/uix, style.kv Type: Feature Issue is a feature request
Projects
None yet
Development

No branches or pull requests

4 participants