Making a window with certain widgets smaller doesn't work on Ubuntu 18.04 and 20.04
See original GitHub issueDescription
When resizing a window of an application containing a WebView
or a MultilineTextInput
widget, making it bigger works, but making it smaller doesn’t work. Neither horizontally nor vertically. Note that only a few widgets seem to prevent shrinking, e.g. the window of the hello world tutorial application works fine.
To Reproduce
- Set up an Ubuntu 18.04 or 20.04 development environment (e.g. using https://github.com/rknuus/toga-dependency-verification).
- Start the browser app of the tutorial.
- Resize the window, particularly try to make it smaller.
Expected behavior The window size changes in both directions.
Environment:
- Operating System:
- Ubuntu 18.04 with GTK+ version 3.22.30-1ubuntu4 of libgtk-3-0 and version 2.24-32-1ubuntu1 of libgtk2.0-0
- Ubuntu 20.04 with GTK+ version 3.24-20-0ubuntu1 of libgtk-3-0 and version 2.24-32-4ubuntu4 of libgtk2.0-0
- Python version: 3.6.9 on Ubuntu 18.04 resp. 3.8.5 on Ubuntu 20.04
- Software versions:
- Toga: 0.3.0.dev26
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Move and resize windows - Official Ubuntu Documentation
Resize a window by dragging the edges or corner of the window. Hold down Shift while resizing to snap the window to the...
Read more >Lubuntu 20.04 windows too big for the screen - Ask Ubuntu
Some of the options/settings windows open up too large for the screen, making it necessary to drag them down and up to access...
Read more >Ubuntu 20.04 Makes It Easy to Enable Fractional Scaling
Ubuntu 20.04 has a switch to enable fractional scaling in the Settings > Screen Display panel.
Read more >16 Things to do After Installing Ubuntu 20.04 - It's FOSS
And this cache needs to be synced in order for you to be able to install any software. It is very easy to...
Read more >Switching to Sway (Wayland) from i3 (X11) on Ubuntu 20.04
When I upgraded from Ubuntu 18.04 to 20.04 LTS, I finally took the ... stuff I didn't need, and adding a more usable...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Perhaps my problem description was not accurate, my apologies.
I understand that certain widgets have some minimal space requirements. My issue is, that starting from the default size I can make the window bigger, but then I can never make it smaller again, even though the window is now bigger than it was initially, i.e. making it a bit smaller should not violate the minimal space requirements.
This bug needs some work my #1224 PR will not solve it perfectly.