masghar / yet-another-music-application

Automatically exported from code.google.com/p/yet-another-music-application
0 stars 0 forks source link

Details pane icon does not scale to all possible sizes #311

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Maximise Stoffi.
2. Drag the details pane as large as possible.
3.

What should have happened?
The icon should scale up to 256.

Is it not possible to use one of the default Windows 7 icons here? Would that 
be a copyright issue? The standard Windows 7 icons are stunning and scale to 
all sizes.

What happened instead?
The music file icon does not scale up to 256.

Can you give us any additional information that could be useful in fixing
this bug?

What release of Stoffi are you using (Xia or Shang)?
Zhou

If you are using alpha or beta, please state which:
Beta Three

Original issue reported on code.google.com by wic...@gmail.com on 21 Apr 2012 at 10:48

GoogleCodeExporter commented 9 years ago
It will look bad since it will be scaled so much, but I can up the max 
width/height to 256.

Original comment by christof...@stoffiplayer.com on 21 Apr 2012 at 8:10

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1029.

Original comment by christof...@stoffiplayer.com on 21 Apr 2012 at 8:10

GoogleCodeExporter commented 9 years ago
What I meant was, the default Windows 7 icons have multiple sizes, they are not 
small and then scaled.

Is it possible to replace the current icon with a standard Windows icon that 
has a huge 256 sized icon built in?

Original comment by wic...@gmail.com on 21 Apr 2012 at 10:05

GoogleCodeExporter commented 9 years ago
It is. But WPF will choose the first frame in the ico file and go with it, no 
matter how large the image actually is. This is why all icons were previously 
really bad looking.

I have code which will fetch the frame that best fits the current size of the 
icon. However, I would have to make that code run every time the icon is 
resized. Not sure how effective it will be. Might slow resizing down and make 
it "stutter".

Anyway, I'm not ready to introduce some auto-scaling stuff for Zhou, that'll 
have to be a Qin feature.

As a side note: why the hell doesn't WPF just do this for me? /rant

Original comment by christof...@stoffiplayer.com on 22 Apr 2012 at 6:02

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1458.

Original comment by christof...@stoffiplayer.com on 31 Jan 2013 at 3:19