Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] How can usiSchemaHandlers be used in internal web browser?
  • From: "Becker, Matthias" <ma.becker@xxxxxxx>
  • Date: Wed, 8 Apr 2020 07:09:05 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sap.com; dmarc=pass action=none header.from=sap.com; dkim=pass header.d=sap.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KJcmFRrbaYC4wdDAO75cOzBCt4UDyaPBK89gn2+OarY=; b=Gq8H4Nqnh8q90Sqv93Hpjl3JgGH3TWnrE0hp88HwqyYsF5tgWphpy2xPN5cawVKhovFsyuLs6G01dSVvmklnnc0E060utnnL2M6COvZga7E4E35IS6jWlz56ho1Bv7n98/JM3slAhAxeN/87fwkN2fc5XLeP7eDvZWCUbSeoKSMEBvPq9BipVSFCukBYvFmSt9oXIBkdPqdW6OJ3UPUf1WUsyaSNF8n4VFaNocT6W7PkAeKgitzeBfvWMkDYvNDahvDX6AVYvn/JmoVz/fhpUsENOUmGw/DDYCjuXzgIhxBhg6bezJh64TKB8EJGZI8qvn4Ts+djCuhBMzQ3KReaOw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Keadi5hIrpreUoI/StKGgb6YBaHnzC5KuxiwR0HgigiWdOuv88roxClo2JKrUrq9pnFuwGxk/mW3rcHT/2Drid4cq3F5yqhAIEjEbX68nRXakJqSgWGKiT6FOInXQCaHrE0djlr3sJafi4iuqPaV+KMn5qdUaN9EiKn6vEUDG6vQCLPDR9w4qZ4Xh3zqHJP2tpI3XGS8Qe9fvBhn3/XO21Dv39LAjYIDrnMT/iU+6n9FrYe+vPBizwPQp0yyicphwaKs5ZgsapCnEUA6uRpzo2naoYVnrgRB0ljqZ9tHL3b5Pcf0VWYvp/hbwUKrhiqhmmFgoQ7nsz66mWBiRC8+jw==
  • Delivered-to: platform-dev@xxxxxxxxxxx
  • Ironport-sdr: VMhxkCWJP8d4lhwDJCZspS/t4jRIlTVU17vRoITYmkxauNoT/DcyTfjYuq30eCnV9201739dC5 xvuco1apnV00Ko+5cQposdZMixA3pUjakjI9j3ai6ZOwY3TX4JF+jM8Dp16S28q6rBVNMmKROi nU6w97GSYGwwEG/jI6GUb9x/ZSBEiO2AwOLL+C7maON2dQTJhQROB+fEwyKgK6gZ9JhXF+2pxf zmNSjx03FgYtUW0zS+7//1lJcoN3kYKe8JhzuGw5LAEuHsBeXip0ydtxfPJqqQH8H/P9Zml8Un Vfw8LwJ9IsLeJr1PSVPXQnXB
  • List-archive: <https://www.eclipse.org/mailman/private/platform-dev>
  • List-help: <mailto:platform-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/platform-dev>, <mailto:platform-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/platform-dev>, <mailto:platform-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWDXSWVSZZnMDpTUmso3SVKZWfGw==
  • Thread-topic: [platform-dev] How can usiSchemaHandlers be used in internal web browser?
  • User-agent: Microsoft-MacOutlook/16.35.20030802

Hi Rolf,

 

as far as I know you can only register once application in the operating system that handles a given URI schemes. And that is also handled in the link handlers pref page.

If we find out that a uri scheme is handles by another application (not the binary currently running) we don’t let the user activate the handler in this eclipse instance

because we would “steal” the uri scheme from another application. This other application may even be a none-eclipse based application and this app may not have

a setting similar to the “link handlers” pref page to re-enabled it’s handler there.

We could think about a “Activate Anyway” option in the link handler’s pref page if the user “really really” what’s to “steal” the link handler from another app.

 

But once again: Only one app hand handle an URI scheme (and that’s an OS limitation and not an eclipse limitation).


Regards,

Matthias

 

From: <platform-dev-bounces@xxxxxxxxxxx> on behalf of Rolf Theunissen <rolf.theunissen@xxxxxxxxx>
Reply to: "Eclipse platform general developers list." <platform-dev@xxxxxxxxxxx>
Date: Wednesday, 8. April 2020 at 08:28
To: "Eclipse platform general developers list." <platform-dev@xxxxxxxxxxx>
Subject: Re: [platform-dev] How can usiSchemaHandlers be used in internal web browser?

 

Hi Matthias,

 

I would also assume that if the link handler is correctly registered it would work also work for the internal browser. However, I really wonder what the interaction would be when using multiple instances of Eclipse. I heavily use Oomph and as a result I have dozens of Eclipse installations. How to ensure that the link is opened in a specific instance? How to ensure that is handled by the current instance?

 

Regards,

Rolf

 

Op wo 8 apr. 2020 om 08:17 schreef Becker, Matthias <ma.becker@xxxxxxx>:

Hi Mickael,

 

I think the idea of the eclipse+mpc uri scheme was to replace the drag&drop of an link from the marketplace to the eclipse window with a more intuitive way. So user’s would simply click a link on the marketplace website.

I don’t know why the marketplace website does not render these links at the moment.

The downside of this is (currently) that the user explicitly has to enable this link hander on the link handers pref page. We did not implement an automatic registration because this writes stuff into the OS and we think such

stuff should always be triggered by a user-interaction.

One could think about an enhancement that proactively asks the users if he wants to enable a new link handler. Oomph could do that when you install a new eclipse but we also need a way to enable this when oomph is not used.

We could fire up a dialog (delayed at the start of the IDE) that basically shows the table from the link handers pref page asking which handlers should be activated. But this would something new to the Eclipse IDE. I never have seen

such (very intrusive) dialogs in the Eclipse IDE.

 

Regarding the internal web browser. Isn’t that just an embedded browser. So I would assume that once the link handler is successfully registered in the OS that links in the internal browsers also works as in the external browser…

 

Regards,

Matthias

 

From: <platform-dev-bounces@xxxxxxxxxxx> on behalf of Mickael Istria <mistria@xxxxxxxxxx>
Reply to: "Eclipse platform general developers list." <platform-dev@xxxxxxxxxxx>
Date: Tuesday, 7. April 2020 at 18:12
To: "Eclipse platform general developers list." <platform-dev@xxxxxxxxxxx>
Subject: [platform-dev] How can usiSchemaHandlers be used in internal web browser?

 

Hi all,

 

I'm brainstorming about possibilities to improve and simplify Marketplace integration in Eclipse IDE, ideally by reducing the amount of specific UI it uses and leveraging more the website (so we maintain a single web UI to consume in the IDE instead of having another view to maintain it it as well).

I see MPC has enabled support for `eclipse+mpc` protocol handler, that's great as invoking some CLI like `eclipse eclipse+mpc://marketplace.eclipse.org/install/1640500` works fine.

However, I was expected that such `eclipse+mpc` links in the Internal Web Browser would trigger the protocol handler and thus show the Marketplace Client dialog but it was not the case.

So I'm curious about the cases where those protocol handlers are supposed to work out of the box? Is there some setting, or preference or some existing views where I can have a such links working on a single click?

If not, are there bugs open on this topic I could monitor/participate to?

 

Thanks in advance


--

Mickael Istria

Eclipse IDE developer, for Red Hat Developers

_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev


Back to the top