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

size event passing wrong/old window size #8646

Open
thica opened this issue Mar 14, 2024 · 0 comments
Open

size event passing wrong/old window size #8646

thica opened this issue Mar 14, 2024 · 0 comments
Labels
Component: core-providers kivy/core Type: Bug A bug or something not working as intended

Comments

@thica
Copy link

thica commented Mar 14, 2024

Software Versions

Describe the bug
If you change the size of the app,
And you have bound the size property of the eventdispatcher.window to a function
Then the wrong/old size is given to the function
This did work with kivy 2.1

Expected behavior
The new size of the App should be passed

Code and Logs and screenshots

EventLoop.window.bind(size          = MyApp.On_Size)

kivy.core.window.Window.size = (iAppWidth,.iAppHeight)


def On_Size(self, win, size) ->None:
// "size" should have the (iAppWidth,.iAppHeight) values, but is showing the old values
@Julian-O Julian-O added Component: core-providers kivy/core Type: Bug A bug or something not working as intended labels Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: core-providers kivy/core Type: Bug A bug or something not working as intended
Projects
None yet
Development

No branches or pull requests

2 participants