Filip Radović
Filip Radović
Was this part of the code raising an error and if so do you have the code to reproduce that error? My concern is that we may hide the actual...
@vchslv13 Can you resolve conflicts in `mouse.py`?
It's happening by design https://github.com/kivy/kivy/pull/7786#pullrequestreview-873878786. Documentation for `2.0.0` states that `on_dropfile` only has `filename` as argument and documentation for `2.1.0` states that `on_drop_file` has (filename, x, y, *args) as arguments.
Instance of `WindowBase` is omitted but assumed for events in the documentation and the same goes for all documentation of all classes which inherit from `EventDispatcher`. @matham made the decision...
You would have to change Kivy source code to comment-out https://github.com/kivy/kivy/blob/4fbf9059ce5917ac27685d2b5795e4c447a3f571/kivy/core/window/__init__.py#L1043-L1046 or https://github.com/kivy/kivy/blob/4fbf9059ce5917ac27685d2b5795e4c447a3f571/kivy/core/window/__init__.py#L2105-L2107 lines and re-compile the framework.
ModalView: on_dismiss runs before on_open if user dismisses popup before opening animation completes
Related issue https://github.com/kivy/kivy/issues/5540.
Try using `App.get_running_app().stop()` instead of `self.window.close()`.