Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#7381 closed bug (fixed)

GetVectorIcon - Bug for size bigger than 256

Reported by: cipri Owned by: stippi
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All


It seems GetVectorIcon cannot load hvif icons into Bitmaps larger than 256x256. There are no error-message, just in my case the icon is not displayed if the bitmap was choosen to have a width langer than 256. If it's smaller than 256 everything works like expected. This bug can be also noticed, if in the file of global definitions of the app Pairs the constant of the icon-size is changed to 260 for example.

Change History (3)

comment:1 by anevilyak, 11 years ago

Owner: changed from axeld to stippi
Status: newassigned

The problem is that the level of detail rendering code isn't rendering any shapes at sizes > 256 because all shapes come back with a max visibility scale of 4, which sizes > 256 exceed (since the scale factor is based on bitmap width / 64).

comment:2 by anevilyak, 11 years ago

Resolution: fixed
Status: assignedclosed
Version: R1/alpha2R1/Development

Fixed in hrev41206.

comment:3 by stippi, 11 years ago

Please reopen if the problem is not actually fixed. I only stared hard at the line of code I've added and otherwise tested only that regular icon sizes still work. :-)

Note: See TracTickets for help on using tickets.