{"action":"opened","issue":{"url":"https://api.github.com/repos/kivy/kivy/issues/4610","repository_url":"https://api.github.com/repos/kivy/kivy","labels_url":"https://api.github.com/repos/kivy/kivy/issues/4610/labels{/name}","comments_url":"https://api.github.com/repos/kivy/kivy/issues/4610/comments","events_url":"https://api.github.com/repos/kivy/kivy/issues/4610/events","html_url":"https://github.com/kivy/kivy/issues/4610","id":177020472,"number":4610,"title":"Window resize issues on certain linux display managers","user":{"login":"andyDoucette","id":19576950,"avatar_url":"https://avatars.githubusercontent.com/u/19576950?v=3","gravatar_id":"","url":"https://api.github.com/users/andyDoucette","html_url":"https://github.com/andyDoucette","followers_url":"https://api.github.com/users/andyDoucette/followers","following_url":"https://api.github.com/users/andyDoucette/following{/other_user}","gists_url":"https://api.github.com/users/andyDoucette/gists{/gist_id}","starred_url":"https://api.github.com/users/andyDoucette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyDoucette/subscriptions","organizations_url":"https://api.github.com/users/andyDoucette/orgs","repos_url":"https://api.github.com/users/andyDoucette/repos","events_url":"https://api.github.com/users/andyDoucette/events{/privacy}","received_events_url":"https://api.github.com/users/andyDoucette/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-14T21:03:52Z","updated_at":"2016-09-14T21:03:52Z","closed_at":null,"body":"Hi everyone!\r\n\r\nI'm developing an app in kivy, and there's one lingering issue I'm running into, and I'd love some help getting to the bottom of it.  It's really getting in the way of the experience because the app doesn't update as expected all of the time.\r\n\r\nHere's the symptom:  Resizing the window using the corner (not the sides) sometimes results in the layout size ceasing to update anymore.  I've reduced my code to a 13 line demo that still exhibits the issue:\r\n\r\n`from kivy.uix.button import Button\r\nfrom kivy.uix.boxlayout import BoxLayout\r\nfrom kivy.app import runTouchApp\r\n\r\nlayout = BoxLayout()\r\n\r\nfor i in range(100):\r\n  btn = Button(text=str(i), size_hint_x=None, width=40)\r\n  layout.add_widget(btn)\r\n\r\nlayout.bind(size=lambda x,y: print('layout.size: %s' % str(layout.size)))\r\n\r\nrunTouchApp(layout)`\r\n\r\nI've also recorded the behavior in some short videos, so you can see what I'm seeing (https://drive.google.com/drive/u/0/folders/0B0iWRhvDLbb0QkNlX1RfVUM1S2c).   When viewing the videos, please download them and play them locally as google down-converts the resolution too much in the embedded player.\r\n\r\nI'm running KDE.  When I tried the same code in gnome, it worked perfectly (never stopped resizing).  When I tried the code in XFCE, it was even worse.  The layout only sometimes resized, and very rarely.  Videos of both of these are in the video directory: https://drive.google.com/drive/u/0/folders/0B0iWRhvDLbb0QkNlX1RfVUM1S2c\r\n\r\nWhat I'd like to get to is where kivy resize the layout consistently and does not hang in all 3 display managers .\r\n===============\r\n\r\nHere are some details about my system, in case it helps the troubleshooting:\r\n\r\n(pyTuner) [andromodon@yogie ~]$ cat /etc/lsb-release  \r\nDISTRIB_ID=Ubuntu \r\nDISTRIB_RELEASE=16.04 \r\nDISTRIB_CODENAME=xenial \r\nDISTRIB_DESCRIPTION=\"Ubuntu 16.04.1 LTS\"\r\n\r\nI'm using an anaconda environment.  Here are the packages in it:\r\n(pyTuner) [andromodon@yogie ~]$ conda list \r\n# packages in environment at /home/andromodon/.anaconda3/envs/pyTuner: \r\n# \r\nbuildozer                 0.32                      <pip> \r\ncython                    0.24.1                   py35_0   \r\ndocutils                  0.12                     py35_2   \r\nKivy                      1.9.1                     <pip> \r\nKivy-Garden               0.1.4                     <pip> \r\nopenssl                   1.0.2h                        1   \r\npexpect                   4.2.1                     <pip> \r\npip                       8.1.2                    py35_0   \r\nptyprocess                0.5.1                     <pip> \r\npygame                    1.9.2b8                   <pip> \r\npygments                  2.1.3                    py35_0   \r\npython                    3.5.2                         0   \r\nreadline                  6.2                           2   \r\nrequests                  2.11.1                    <pip> \r\nsetuptools                26.1.1                   py35_0   \r\nsqlite                    3.13.0                        0   \r\ntk                        8.5.18                        0   \r\nvirtualenv                15.0.3                    <pip> \r\nwheel                     0.29.0                   py35_0   \r\nxz                        5.2.2                         0   \r\nzlib                      1.2.8                         3  \r\n\r\nI'm also attaching a condaEnv.txt that can be used to create an identical anaconda environment with \"conda create --name pyTuner --file ./condaEnv.txt\"\r\n\r\nLastly, I also had a post on kivy-groups.  I was advised by someone in #kivy to post here as well, as \"The more eyes the better\".  Sorry if there is redundancy..."}}
{"actor":{"display_login":"andyDoucette"}}