Page 1 of 2

Wrong icon position during iconification

Posted: Tue Jan 20, 2015 8:56 pm
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 ;)

Re: Wrong icon position during iconification

Posted: Tue Jan 20, 2015 11:34 pm
by tonyw
What is wrong?

Re: Wrong icon position during iconification

Posted: Wed Jan 21, 2015 12:08 am
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

Re: Wrong icon position during iconification

Posted: Wed Jan 21, 2015 9:56 am
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.

Re: Wrong icon position during iconification

Posted: Wed Jan 21, 2015 1:56 pm
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.

Re: Wrong icon position during iconification

Posted: Wed Jan 21, 2015 4:14 pm
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 ;)

Re: Wrong icon position during iconification

Posted: Wed Jan 21, 2015 4:34 pm
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.

Re: Wrong icon position during iconification

Posted: Thu Jan 22, 2015 12:05 am
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

Re: Wrong icon position during iconification

Posted: Thu Jan 22, 2015 12:37 am
by samo79
@betatester

Anyone availible for opening a separate ticket for each programs listed above ?

Re: Wrong icon position during iconification

Posted: Thu Jan 22, 2015 9:41 am
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.