From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.9 required=3.0 tests=BAYES_00,NICE_REPLY_A autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R.Carter" Newsgroups: comp.lang.ada Subject: Re: Ada_GUI Date: Fri, 8 Apr 2022 16:31:49 +0200 Organization: A noiseless patient Spider Message-ID: References: <410d2d23-c6bd-4e09-b236-6905074fc684n@googlegroups.com> <62751a49-706f-4f84-a2ed-8589a4a9c9d7n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 8 Apr 2022 14:31:49 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="feca2a9725ec200c5854fa948950cc97"; logging-data="31591"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+qapgYtjr/kZjv8hfvMkodbHMYvE+soiI=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Cancel-Lock: sha1:GPqNMVXC5qNc5SCpC+uUgELChxM= In-Reply-To: <62751a49-706f-4f84-a2ed-8589a4a9c9d7n@googlegroups.com> Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:63714 List-Id: On 2022-04-08 16:05, AdaMagica wrote: > More findings: > Surprisingly, even background text generates an event when clicked upon. All widgets generate mouse-click events. > My icon Ada.ico is not displayed. If favicon.ico is present in the current directory, it is displayed even if Ada.ico is given in Set_Up. > Very strange. Have you cleared cache between displaying favicon.ico and trying with Ada.ico? Have you tried renaming Ada.ico to favicon.ico? Does your boot.html contain the string "favicon.ico"? I upgraded to a new version of Firefox last night and now favicon.ico is appearing again if I have boot.html without "favicon.ico" in it. It still hangs on startup for the version of boot.html with it. ada_gui-gnoga-server-connection.adb at line 574 modifies boot.html to replace "favicon.ico" with the icon name passed to Set_Up, if it contains that string and a non-null icon name was given. Apparently that, or processing the modified file, hangs. If boot.html does not contain that string, apparently favicon.ico is used if it exists. So currently it seems that if you want an icon, it has to be named favicon.ico and the string passed to Set_Up is ignored. I'll investigate further. -- Jeff Carter "Blessed are they who convert their neighbors' oxen, for they shall inhibit their girth." Monty Python's Life of Brian 83