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

Crash when trying to access file menu #26

Closed
tmolitor-stud-tu opened this issue Apr 28, 2024 · 0 comments
Closed

Crash when trying to access file menu #26

tmolitor-stud-tu opened this issue Apr 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tmolitor-stud-tu
Copy link
Member

Tapping onto the file menu crashes the app, possibly because onSlideChanged() gets invoked by the touch, which rebuilds the actionbar where the menu entry resides in making it temporarily unavailable to the following touch handler trying to open the menu.

04-28 21:41:57.735 16885 16911 I python  : 2024-04-28 21:41:57,732 [ERROR  ] MobileCrashAnalyzer {MainThread} MobileCrashAnalyzer.py:32: Catched top level exception!
04-28 21:41:57.735 16885 16911 I python  : Traceback (most recent call last):
04-28 21:41:57.735 16885 16911 I python  :   File "/github/workspace/MobileCrashAnalyzer_Deploy/.buildozer/android/app/MobileCrashAnalyzer.py", line 30, in <module>
04-28 21:41:57.735 16885 16911 I python  :   File "/github/workspace/MobileCrashAnalyzer_Deploy/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/MobileCrashAnalyzer/armeabi-v7a/kivy/app.py", line 956, in run
04-28 21:41:57.735 16885 16911 I python  :   File "/github/workspace/MobileCrashAnalyzer_Deploy/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/MobileCrashAnalyzer/armeabi-v7a/kivy/base.py", line 574, in runTouchApp
04-28 21:41:57.735 16885 16911 I python  :   File "/github/workspace/MobileCrashAnalyzer_Deploy/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/MobileCrashAnalyzer/armeabi-v7a/kivy/base.py", line 339, in mainloop
04-28 21:41:57.735 16885 16911 I python  :   File "/github/workspace/MobileCrashAnalyzer_Deploy/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/MobileCrashAnalyzer/armeabi-v7a/kivy/base.py", line 383, in idle
04-28 21:41:57.735 16885 16911 I python  :   File "/github/workspace/MobileCrashAnalyzer_Deploy/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/MobileCrashAnalyzer/armeabi-v7a/kivy/base.py", line 334, in dispatch_input
04-28 21:41:57.735 16885 16911 I python  :   File "/github/workspace/MobileCrashAnalyzer_Deploy/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/MobileCrashAnalyzer/armeabi-v7a/kivy/base.py", line 302, in post_dispatch_input
04-28 21:41:57.735 16885 16911 I python  :   File "kivy/_event.pyx", line 731, in kivy._event.EventDispatcher.dispatch
04-28 21:41:57.735 16885 16911 I python  :   File "/github/workspace/MobileCrashAnalyzer_Deploy/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/MobileCrashAnalyzer/armeabi-v7a/kivy/uix/behaviors/button.py", line 179, in on_touch_up
04-28 21:41:57.735 16885 16911 I python  :   File "kivy/_event.pyx", line 727, in kivy._event.EventDispatcher.dispatch
04-28 21:41:57.736 16885 16911 I python  :   File "kivy/_event.pyx", line 1307, in kivy._event.EventObservers.dispatch
04-28 21:41:57.736 16885 16911 I python  :   File "kivy/_event.pyx", line 1231, in kivy._event.EventObservers._dispatch
04-28 21:41:57.736 16885 16911 I python  :   File "/github/workspace/MobileCrashAnalyzer_Deploy/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/MobileCrashAnalyzer/armeabi-v7a/kivy/uix/actionbar.py", line 408, in <lambda>
04-28 21:41:57.736 16885 16911 I python  :   File "kivy/properties.pyx", line 520, in kivy.properties.Property.__set__
04-28 21:41:57.736 16885 16911 I python  :   File "kivy/properties.pyx", line 567, in kivy.properties.Property.set
04-28 21:41:57.736 16885 16911 I python  :   File "kivy/properties.pyx", line 606, in kivy.properties.Property._dispatch
04-28 21:41:57.736 16885 16911 I python  :   File "kivy/_event.pyx", line 1307, in kivy._event.EventObservers.dispatch
04-28 21:41:57.736 16885 16911 I python  :   File "kivy/_event.pyx", line 1213, in kivy._event.EventObservers._dispatch
04-28 21:41:57.736 16885 16911 I python  :   File "/github/workspace/MobileCrashAnalyzer_Deploy/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/MobileCrashAnalyzer/armeabi-v7a/kivy/uix/actionbar.py", line 422, in on_is_open
04-28 21:41:57.736 16885 16911 I python  :   File "/github/workspace/MobileCrashAnalyzer_Deploy/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/MobileCrashAnalyzer/armeabi-v7a/kivy/uix/dropdown.py", line 246, in open
04-28 21:41:57.736 16885 16911 I python  : kivy.uix.dropdown.DropDownException: Cannot open a dropdown list on a hidden widget
tmolitor-stud-tu added a commit that referenced this issue Apr 28, 2024
- Use carousel `index` instead of part name and bind to carousel `index`
  instead of `on_touch_move`, fixes #26
- Set `ignore_perpendicular_swipes` to `True` to allow scrolling again,
  fixes #27
@Sobottasgithub Sobottasgithub added the bug Something isn't working label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants