Project

General

Profile

Actions

Bug #998

open

gtk4: Left panel unit icon not updated as focus advances

Added by Marko Lindqvist about 1 month ago. Updated 8 days ago.

Status:
In Review
Priority:
Normal
Category:
gtk4-client
Target version:
Start date:
10/21/2024
Due date:
% Done:

0%

Estimated time:

Description

Sometimes left panel unit icon does not update as focus advances to the next unit.


Files


Related issues 1 (1 open0 closed)

Blocks Tasks #569: Release 3.2.0-beta1NewMarko Lindqvist05/08/2024

Actions
Actions #1

Updated by Marko Lindqvist 8 days ago

Same is true with all icons drawn with picture_set_from_surface(), and I'm sure it used to work -> assuming bug to be in gtk. It seems that gtk_picture_set_paintable() (and its wrapper gtk_picture_set_pixbuf()) do not work if the new paintable is of the same size as the current. I've got icons to refresh by a workaround that I first set a dummy 1x1 drawable, and only then the real one.

Actions #3

Updated by Marko Lindqvist 8 days ago

Actions

Also available in: Atom PDF