[haiku-bugs] Re: [Haiku] #12958: netfs Network icon only shows at 32X32

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Sat, 17 Sep 2016 07:55:38 -0000

#12958: netfs Network icon only shows at 32X32
----------------------------------+----------------------------
   Reporter:  bbjimmy             |      Owner:  nobody
       Type:  bug                 |     Status:  closed
   Priority:  normal              |  Milestone:  Unscheduled
  Component:  File Systems/NetFS  |    Version:  R1/Development
 Resolution:  duplicate           |   Keywords:
 Blocked By:  12069               |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by pulkomandy):

 The TrackerIcons are generic icons for when the device does not provide
 anything. The "query" icon is also used as the "generic volume" icon when
 nothing is available.

 Getting the icon happens in kits/tracker/IconCache.cpp, which then
 requests it from kits/tracker/Bitmaps.cpp:144 (GetIconResource). This
 function does not attempt any scaling, and will just return an error if
 called with a size other than 16 or 32. It does handle vector icons,
 however, so I'm surprised that doesn't work.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12958#comment:13>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: