Re: browser wrapper

Patrick Cardona <[email protected]>
Newsgroups gmane.comp.lib.gnustep.general
Message-ID <63e2de78e4b4d5c10a0abdc578b9d040@pi400>
Hi Riccardo,

I confirm the issue with also a Chromium wrapper. I joined the Info-gnustep.plist.

<Info-gnustep.plist>

On 2025-11-14 00:03:57 +0100 Riccardo Mottola <[email protected]> wrote:

> Hi,
> 
> we have simple appwrappers supplied with gworkspace.
> 
> The infoplist contains
>   XAppWrapper = YES;
> 
> and this works for opening file in applications. There are side-effects with 
> GWorkspace, but it mostly works in the sense that things open. If the app is 
> reasonable, it will also open more files.
> 
> I would like to  have this simple functionality also for Web Browsers.
> There are already a couple of wrappers for browsers: firefox, seamonkey, 
> konqueror, iceweasel...
> 
> Now they don's seem to work. I think is becuase they do not register 
> CFBundleURLTypes
> 
> So I thought to add to the seamonkey wrapper:
>   CFBundleURLTypes = (
>     {
>       CFBundleURLName = "Web site URL";
>       CFBundleURLSchemes = (
>     http,
>     https
>       );
>     }
>   );
> 
> but it doesn't work. The wrapped app is seen in systempreferences internet 
> panel and I can select it. However, if I click on an URL this do not work as 
> expected.
> 
> Seamonkey opens or comes to front, nothing happens.
> The calling app (e.g. GNUMail with a link) hangs and complains after a while 
> with No service matching 'OpenURL'

With Chromium, a link from GNUMail opens first a blank tab, complains with the alert panel "No Service...", but, finally, it opens a second tab with the expected URL. 

> firefox comes and may open the link (or maybe not)
> 

Also, we should consider to support '.url' files to store favorites regardless of the Browser is used.

Cheers,
Patrick

-- 
Patrick Cardona - Pi400 - GNU/Linux aarch64 (Debian 13.1) 
Xorg (1:7.7+24) - libcairo2 (1.18.4-1+rpt1 arm64)
Window Maker (0.96.0) - GWorkspace (1.1.0 - 02 2025) - Theme: AGNOSTEP - MUA: GNUMail (1.4.0)
Info-gnustep.plist (application/octet-stream, 559 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.