question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Making a window with certain widgets smaller doesn't work on Ubuntu 18.04 and 20.04

See original GitHub issue

Description 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

  1. Set up an Ubuntu 18.04 or 20.04 development environment (e.g. using https://github.com/rknuus/toga-dependency-verification).
  2. Start the browser app of the tutorial.
  3. 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:open
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rknuuscommented, Mar 10, 2021

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.

0reactions
MuhammadMouradGcommented, Mar 23, 2021

This bug needs some work my #1224 PR will not solve it perfectly.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found