bleakgrey / tootle

GTK-based Mastodon client for Linux
GNU General Public License v3.0
401 stars 61 forks source link

Avatar widget should not extend Gtk.Button #238

Closed Kekun closed 4 years ago

Kekun commented 4 years ago

⚠️ Please try to fill in every blank. Keep the information clear and concise.

What should happen:

The clip area of the user's avatar (in the button in the header bar) should be consistent and always show the full avatar.

What happened instead:

The clip area of the user's avatar is too wide when Tootle's window is focused, and too small when the window isn't, making it be cut.

How to reproduce:

  1. Ensure the avatar is visible in Tootle's window
  2. Toggle the focus between Tootle's main window and another

Screenshots (if applicable):

WTF GitHub doesn't accept videos‽ Uuuh…

Capture d’écran de 2020-09-16 09-09-49

Capture d’écran de 2020-09-16 09-09-52

Build context:

Logs:

Nothing that seems relevant.

Additional info (if needed):

Nothing.

BrainBlasted commented 4 years ago

You could use HdyAvatar here in the main window (and in other areas where an Avatar is shown)