I need some help with programming a simple kivy app. I have the problem, that kivy 'matches' my laptops touchpad to the screen. i.e. I tap at the left center of the touchpad and kivy does not send a mouseclick at the current mouse position, but at the left center of the screen. This behavior is quite annoying, because it results in a 'clicking-interference'. Is there a way to fix this? It seems like a kind of touchscreen input is enabled. (maybe change this in the kivy config?)
I just want a normal mouse behavior. :/
Thanks in advance!
I got some help on the kivy discord.
To fix this I commented out the probesysfs line in the kivy config (~/.kivy/config.ini).
Related
Currently attempting to convert an iPhone application to also work on the iPad. I am running into an issue where the buttons all the way on the right, do not work when clicked on the iPad. It looks like since the buttons are shifted more to the right than on the iPhone, they no longer become clickable. Buttons to the right work fine on the iPhone. Buttons to the left work fine on both systems. Any help on correct setting to fix this issue would be appreciated. Attached is a sample button that does not work:
If I missed writing something or need more detail, please let me know.
Environment: Xcode 8.2.1, Objective-C (Not using swift)
How can I automatically scroll the view up when I focus in a TextInput box and a keyboard is shown such that the TextInput box is not hidden behind the keyboard?
This question has been asked on StackOverflow a few times and I implemented the solution here which is the general solution advised in most of the answers. This solution works fine in the iPhone simulator but doesn't work on the actual phone. Has anyone else experienced this problem that the solution doesn't work on the actual phone?
Second thing that I noticed after adding this solution is that now if I am focussing in a TextInput box and keyboard is shown, if I press a button or try to focus into a different TextInput box, the first touch is always consumed to hide the keyboard and the button is not pressed or the other TextInput box is not focussed. It is a little annoying for the user to have to do the operation twice. Has anyone else observed this problem?
Please let me know if you have any inputs on how to solve these problems?
I assume you are using this solution. I ran into the same problem and made some adjustments (see gist). I addressed both problems you describe. keyboardShouldPersistTaps solves your second problem.
I have not found the exact reason why the spacing works in Simulator but not on a real device. It has something to do with the timing. The original code sets a timeout on input focus and tries to scroll down after 50ms. Increasing this to for example 500ms makes it work on devices too, but I don't really like adding magic timeouts that I don't understand. I changed it, so onFocus I look up the element to scroll to and store a reference. When onKeyboardDidShow fires I use the reference.
I'm having a problem scrolling in all the JetBrains IDEs (PyCharm, PhpStorm) using touch screen. I have a Dell XPS 15 with a touchscreen.
When I try to scroll it just selects code. I have tried in regular Notepad and Notepad++ and there works as expected.
Has anyone else experienced it? Is there any solution to this? It would be really great to scroll through the code using touchscreen.
I have found temporary solution by installing plugin Code glance (https://plugins.jetbrains.com/plugin/7275). The plugin provides a sidebar with code map, which is similar to the one from Sublime. In the sidebar it is possible to navigate through code. It is not ideal but it's better than nothing.
Yes, I was having the same problem. And luckily I got a gesture to scroll using two fingers:
Scroll up: Tap and hold using one finger and swipe away[from close to distant of the first finger] using another finger. Swiping away from each other also works.
Scroll Down: Tap and hold using one finger and swipe in[from distant to close of the first finger] using another finger. Swiping close to each other also works.
A bug appeared after I upgraded the sencha touch fw from 2.3 to 2.4.2.
From time to time, when I scroll down or up the application, all the page scroll, and a black screen appear up or down...
This issue i random on iPhone.
Some people already experimented this issue ?
Thank you !
We have investigate this issue.
This issue appear when we try to scroll a list and some link are in the item template.
Scrolling with a finger on the link make the screen moves, scrolling with a finger outside the link the list scroll normally.
For the moment, as the application is in production, we just downgrade sencha to 2.3.1, and it's working.
So we stick on sencha 2.3.1 for the moment, and try to address the issue later.
I ask if konva.js may behave like other graphics libraries as Raphael.js or Paper.js when the mouse is pressed and then leaves the canvas or browser window, this video illustrates the difference in behavior by default.
https://www.youtube.com/watch?v=DeBNJiN_Vdo
Is there a trick to konva.js work the same way?
(google translator)
It is fixed in develop version.
You can get the last build here: https://raw.githubusercontent.com/konvajs/konva/master/konva.js