Subject: bug#20991: AW: bug#20991: 24.5; start iconified in Windows disfunctional

From: Eli Zaretskii <[email-masked]>
Date: Wed, 08 Jul 2015 17:27:18 +0300

> From: Jurzitza Dieter <[email-masked]>
> CC: "[email-masked]" <[email-masked]>
> Date: Wed, 8 Jul 2015 11:09:14 +0000
> 
> - adjusting the desktop icon's properties  in such a way that the application should start iconified does currently not work (GNU Emacs 25.0.50.1 (x86_64-w64-mingw32)
>  of 2015-06-26 on KAEL), emacs pops up in the foreground (using "runemacs"). You have to add "-iconic" to the commandline of the icon configuration in order to make this functional.
> 
> The second case is kind of toleable but still emacs does not behave as a regular windows application would do. Apparently the attributes of the icon do not get propagated to the application somehow.

The properties do get propagated to the application, but it's not the
application you want.  The runemacs.exe application indeed runs
minimized, but you want emacs.exe to start minimized instead.  That's
not something that can work without us coding it specifically to work
this way, as in general these properties are not automatically passed
from parent process to the child processes.

I installed a change to run Emacs with the --iconic option when
runemacs.exe is invoked "minimized".  So some next binary of a
development snapshot you will download will work as you expect.

With all the issues in this bug report now resolved, I'm closing it.

Thanks.