Wrong title bar icon size in Adobe Air on Windows - windows

I am facing a really annoying problem. I am supplying both 16x16 and 32x32 application icons yet the initial window is using the 32x32 icon, scaled down, instead of the 16x16 icon.
Here are the respective icon images:
So it would make sense to use the 16x16 icon for the application icon, Windows or whatever doesn't seem to think so:
How do I fix this? It's really annoying and looks incredibly unprofessional when every other use of the application icons are clear and crisp except the damn window icon.
This error/bug also occurs in the taskbar.
Any ideas?
Edit: application.xml
<?xml version="1.0" encoding="utf-8"?>
<application xmlns="http://ns.adobe.com/air/application/3.5">
<id>com.yahrly.PixelTBSLevelEditor</id>
<versionNumber>1.0.0</versionNumber>
<filename>PixelTBS Level Editor</filename>
<name>PixelTBS Level Editor</name>
<copyright>© 2013, YahRly LLC</copyright>
<initialWindow>
<title>PixelTBS Level Editor</title>
<content>PixelTBSLevelEditor.swf</content>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
<minimizable>true</minimizable>
<maximizable>false</maximizable>
<resizable>false</resizable>
</initialWindow>
<installFolder>YahRly</installFolder>
<programMenuFolder>PixelTBS Level Editor</programMenuFolder>
<supportedProfiles>desktop</supportedProfiles>
<icon>
<image16x16>icons/icon16.png</image16x16>
<image32x32>icons/icon32.png</image32x32>
<image48x48>icons/icon48.png</image48x48>
<image128x128>icons/icon128.png</image128x128>
</icon>
<description>Create and customise your own maps for PixelTBS.</description>
</application>
Edit 2: I found someone else with my problem but they've had no response either >> here

Some things to try:
Make sure the correct icon files are being packaged. Sometimes it's easy to forget that previous icons are still being used if they are still available in the bin folder (for example) of your project, which ADT might still be calling.
Check your icons to see if they are indeed the correct versions.
Clean your project, recompile and then repackage.
Use all available icon sizes in your descriptor file:
application.xml
<icon>
<image512x512>icons/OffAirIcon512.png</image512x512>
<image128x128>icons/OffAirIcon128.png</image128x128>
<image72x72>icons/OffAirIcon72.png</image72x72>
<image57x57>icons/OffAirIcon57.png</image57x57>
<image48x48>icons/OffAirIcon48.png</image48x48>
<image36x36>icons/OffAirIcon36.png</image36x36>
<image32x32>icons/OffAirIcon32.png</image32x32>
<image29x29>icons/OffAirIcon29.png</image29x29>
<image16x16>icons/OffAirIcon16.png</image16x16>
</icon>
I suspect the problem is #1, but If none of this works please reply with details on how you are your packaging your application? What is your ADT command? Are you using FlashDevelop? Flash Builder?
[EDIT]
It seems that unique Taskbar and System Trey icons need to be loaded programmatically and an array of the flash.desktop.InteractiveIcon.bitmaps assigned to flash.desktop.NativeApplication.nativeApplication.icon.bitmaps, as indicated here:
Taskbar icons in AIR
I realize that while this doesn't answer your question, it should certainly work. It does raise questions about the 16 x 16 pixel sized icon file not being used as one would expect (for the Taskbar / System Trey), but perhaps the application.xml icons are specifically for viewing in Windows Explorer. If you mouse over your Desktop and press Ctrl while scrolling your mouse, you will see that Windows Explorer is also capable of displaying 16 x 16 pixel sized icons.

Related

exe icon is not full size (windows 10)

I want to set an icon for my program (exe file and desktop shortcut). I am using Qt 5.7 on Windows.
I followed the instructions from: http://doc.qt.io/qt-5/appicon.html, that is in the pro file I put "RC_ICONS = logo7.ico".
When I install the program on my computer (Win8), it works well. The desktop shortcut's icon shows my logo perfectly and full size. However, when I install the program on another computer (Win10), the desktop shortcut's icon is not full size. Even if I CTRL-scroll on the desktop to change the icon size, this icon remains the same size.
Here is an example of two desktop icons (one full and the other one that does not scale).
image here
Is there something special I should do with my icon (I tried icon sizes of 128x128 to 512x512) so that its full screen ?
Or is it something to do in Qt ?
Thank you so much !
Alex
Most windows 10 .ico icons are multi layer files instead of them being truly scalable. Akin to animated gifs but no animation, just layers. Open a .ico file in Gimp Image editor, you'll see the different sizes in layers. Here is a quick link to the Windows Media center icon hosted on icon archive: http://www.iconarchive.com/show/mega-pack-2-icons-by-ncrow/Windows-Media-Center-icon.html
attached is a screen shot of what I am talking about:
screen shot of windows media player icon
you could use it as a template and replace their pic with yours

Can't seem to get unplated in UWP

Update: 20 May - Just want to make it clear what I'm looking for, this photo shows what I mean when I mention the "AppList" https://www.flickr.com/photos/143242909#N03/27002577792/in/dateposted-public/
I still can't figure it out.
I've been messing around with the UWP in Visual Studio 15 with Windows 10 and trying to learn how to get the package manifest to display the best possible logos and icons for an application.
But I've hit a snag.
I want to use unplated icons for the taskbar and start menu. I created icons at every unplated size available, and the designer keeps placing one in the 44x44 slot. I've tried using it, renaming it, editing the package manifest in notepad...
The taskbar icon comes out fine and unplated... the one in the Apps List (Start Menu) insists on being plated.
When I try editing in notepad and renaming the 44 to:
Assets\Square44x44Logo.targetsize-44_altform-unplated.png
I get this error:
Image path contains one or more MRT qualifiers, which is not supported. Remove the 'AlternateForm' qualifier with value unplated and retry the operation.
Has anyone succeeded in getting an unplated icon to show up in the Applications List?
Please read Guidelines for tile and icon assets
Target-size list assets without plate
These are assets that don't get plated or scaled by the system.
File name format: AppList.targetsize-_altform-unplated.PNG
Impacted apps: Every UWP app
Uses:
Taskbar and taskbar thumbnail (desktop) Taskbar
jumplist Task view ALT+TAB

Icon with no transparent pixels gets funny tint in Mac's Finder

Is there any special requirement for icons used by Mac applications that such icons should have transparent pixels in the top-left corner or some other place?
I'm currently trying to prepare a Mac build of a Unity3D-based game and noticed that if the icon of the game is a full-bleed square with NO transparent pixels, it gets some funny green-red-yellow tint when shown in Finder in small size (when viewed in List, Columns or Cover Flow). The icon is displayed fine on Desktop or if the folder is viewed in "as Icons" mode.
If the icon has a transparent frame, no such problem happens. I don't know anything about Mac development and neither googling or searching here brought up anything helpful, but sorry if this is really a basic question. Is it maybe a bug of Finder on Mac? I have 10.7.5 and Mid-2012 13' MacBook Pro.
The issue happens with this icon:
But doesn't happen with this icon:
Make sure the texture you're using as the icon in Unity is set to "Automatic Truecolor." You could be getting artifacts from whatever texture compression you're using on the texture.

Background images rendering problems on wp7

In my WP7 app i'm having problems with background images rendering badly. It looks like the images are rendered using 8-bit colors, and in general looks ugly. They're .png. Heres a screenshot of how it looks in the app:
screenshot
Does anyone know what causes this and how it can be fixed?
Have you tried to enabled 32bit colour?
To do this, open up your WMAppManifest.xml and in the App element add BitsPerPixel="32"
<Deployment xmlns="http://schemas.microsoft.com/windowsphone/2009/deployment" AppPlatformVersion="7.1">
<App BitsPerPixel="32" xmlns="" ProductID="{25aef417-
Not sure if this will resolve the issue, but the fact your using a .png image and only having 16bit colour could be related.
DO NOT "enable 32 bit color". Many devices have only 16 bit LCD, so they'll still have the issues - you'll just not know about them.
If you really need smooth gradients, use predithered backgrounds, eg. http://nerdplusart.com/photoshop-action-for-windows-phone-7-dithering However it's still not flowing with the of Windows Phone.
The true solution is to change your design to solid, primary colors. This is the choice user have made buying WP device and you should respect it.

What are all the requirements for replacement application icons for windows phone 7 apps?

I'm trying to create new icons for my windows phone 7 app. Whenever I run the app I get the default icons. This has been my process.
I created a 200 px x 200 px icon in photoshop.
I exported 62 px, 99 px and 173 px square versions as PNG files.
I copied these to the images folder in my project and then ADDed them as existing files in Visual Studio 2010.
I selected each image and changed their properties to "Content" and "Copy Always".
I right-clicked properties and selected the appropriate icons for Icon and BackgroundImage.
Cleaned the solution and uninstalled previous installations from the phone.
Rebuilt the project and checked the WMAppManifest.xml to be sure the proper PNGs were listed.
I redeploy the app and the default icons continue to show in the emulator and the device when either type of deploy is tried.
Any suggestions as to what I'm missing?
There are three images that are automatically added in your WP7 project - ApplicationIcon.png, Background.png and SplashScreenImage.jpg. These are the three images you need to change (directly, not a copy). The names are important as well, since WP7 will look for those filenames in particular.
ApplicationIcon.png is the small tile you see when you slide to the right of your home screen and see the list of apps.
Background.png is the tile that gets shown when pinned to your homescreen.
SplashScreen.jpg is the splash screen that gets shown when your app is first launched.
The 200x200 (and other image sizes you created) don't have to be part of the application itself. They're used for your Marketplace submission. Depending on how the user is browsing the marketplace, the relevant sized tile will be shown. You don't need to include those in the XAP as you'll be asked to upload them when you submit your app. Only the three files mentioned at the beginning need to be in the XAP.
The art files you add to your project need to be in the root directory of your project with your App.xaml. At least this is what fixed it for me. When I added the new art to the images directory they showed up in the properties panel and I could select them. However they did not get used when deployed. I did try changing the path manually in the manifest but that didn't work (or I typed it wrong). Moving the icon art to the root fixed the issue.

Resources