Wrong icon position during iconification

A forum for general AmigaOS 4.x support questions that are not platform-specific
User avatar
samo79
Posts: 580
Joined: Sat Jun 18, 2011 12:13 am
Location: Italy

Wrong icon position during iconification

Post by samo79 »

As some noted already many internal programs have a wrong allineament when iconified, this thread try to list all the involved programs that are affected by this .. i hoped to see them fixed in final update (as that are an old issue) but sadly all still the same

An example: http://postimg.org/image/6bqb8cj7l/

This is the list of the involved utility:

Sys:Prefs:
AmigaInput
Notifications
WBStartup

Sys:System:
Media ToolBox
Shell
FormatCDRW

Sys:Utilities
IconEdit
LogViewer
ShowConfig
Exchange (in "Commodities" directory)

Still to say that we have also some utilitied without any iconification gadget, for example the "ScreenBlanker" in SYS:Prefs, would be cool to add one on them ;)
Last edited by samo79 on Wed Feb 11, 2015 11:45 am, edited 2 times in total.
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 1483
Joined: Wed Mar 09, 2011 1:36 pm
Location: Sydney, Australia

Re: Wrong icon position during iconification

Post by tonyw »

What is wrong?
cheers
tony
User avatar
samo79
Posts: 580
Joined: Sat Jun 18, 2011 12:13 am
Location: Italy

Re: Wrong icon position during iconification

Post by samo79 »

@tonyw
What is wrong?
Did you see the grab above ?
The "AmigaInput" icon should be placed just below the "NO NAME" icon, instead it will be iconified elsewhere
User avatar
salass00
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 534
Joined: Sat Jun 18, 2011 4:12 pm
Location: Finland
Contact:

Re: Wrong icon position during iconification

Post by salass00 »

tonyw wrote:What is wrong?
The icon's do_CurrentX and do_CurrentY fields are not set to NO_ICON_POSITION as they should be, so instead of iconifying to the first free position on the desktop it will iconify to where the program icon has been snapshotted.
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 1483
Joined: Wed Mar 09, 2011 1:36 pm
Location: Sydney, Australia

Re: Wrong icon position during iconification

Post by tonyw »

When I iconify the console, its AppIcon appears in the "next place" on the WB, but that may be because it can't get to where it wants to.

I'll write a BZ to remind me to add it to the IWorkbench->AddAppIcon() call.

BZ #9105.
cheers
tony
User avatar
samo79
Posts: 580
Joined: Sat Jun 18, 2011 12:13 am
Location: Italy

Re: Wrong icon position during iconification

Post by samo79 »

tonyw wrote:When I iconify the console, its AppIcon appears in the "next place" on the WB, but that may be because it can't get to where it wants to.

I'll write a BZ to remind me to add it to the IWorkbench->AddAppIcon() call.

BZ #9105.
Tony as you are here please can you open a specific ticket for every single program i've listed in this thread ?
I fear they will forgotten (as very often may happen with a bugreport)

So excluding your shell remain the fix those:

AmigaInput
Notifications
WBStartup
Media ToolBox
IconEdit
LogViewer
ShowConfig
Exchange (in "Commodities" directory)

Thanks ;)
User avatar
salass00
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 534
Joined: Sat Jun 18, 2011 4:12 pm
Location: Finland
Contact:

Re: Wrong icon position during iconification

Post by salass00 »

tonyw wrote: I'll write a BZ to remind me to add it to the IWorkbench->AddAppIcon() call.
That's not a good idea as some programs allow the app icon to be snappshotted into a specific place on the WB screen like LimpidClock for instance. This would be impossible if AddAppIcon() always forced the position to NO_ICON_POSITION.

Rather the programs in question should be fixed or possibly window.class.
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1744
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: Wrong icon position during iconification

Post by nbache »

salass00 wrote:
tonyw wrote:I'll write a BZ to remind me to add it to the IWorkbench->AddAppIcon() call.
[...]

Rather the programs in question should be fixed [...]
Tony's BZ is for (his own) console.

Best regards,

Niels
User avatar
samo79
Posts: 580
Joined: Sat Jun 18, 2011 12:13 am
Location: Italy

Re: Wrong icon position during iconification

Post by samo79 »

@betatester

Anyone availible for opening a separate ticket for each programs listed above ?
User avatar
salass00
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 534
Joined: Sat Jun 18, 2011 4:12 pm
Location: Finland
Contact:

Re: Wrong icon position during iconification

Post by salass00 »

nbache wrote:Tony's BZ is for (his own) console.
I just read the BZ entry and as you say it is filed correctly.
Post Reply