Project

General

Profile

Actions

Bug #998

closed

gtk4: Left panel unit icon not updated as focus advances

Added by Marko Lindqvist 2 months ago. Updated 24 days ago.

Status:
Closed
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 2 (1 open1 closed)

Related to Feature #1162: Clean gtk4-client picture_set_from_surface() workaroundNew11/28/2024

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

Actions
Actions #1

Updated by Marko Lindqvist about 1 month 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 about 1 month ago

Actions #4

Updated by Marko Lindqvist 24 days ago

  • Related to Feature #1162: Clean gtk4-client picture_set_from_surface() workaround added
Actions #5

Updated by Marko Lindqvist 24 days ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF