New window from app mode

2,841 views
Skip to first unread message

Georges Khalil

unread,
Mar 13, 2017, 11:43:05 AM3/13/17
to “chromium-dev@chromium.org”
Hi,

Currently, if a page is opened in app mode (--app=URL), links that open new windows will not open in app mode, but instead in full Chrome mode.

I'm wondering if that's by design and what's the reasoning behind it.

We have a use case of a customer that wants to use app mode but make sure that any new window that's open is also in app mode.


Thanks,
Georges

Sunny Sachanandani

unread,
Mar 13, 2017, 3:29:06 PM3/13/17
to geor...@chromium.org, “chromium-dev@chromium.org”
It looks like --app=URL requires the full URL i.e. https://news.google.com instead of news.google.com.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAOCP2__xrDM%2BNnOUcVTCRcro5d3mp67vtEky_xR1FmCfyqPmBA%40mail.gmail.com.

PhistucK

unread,
Mar 13, 2017, 4:42:19 PM3/13/17
to sun...@chromium.org, geor...@chromium.org, “chromium-dev@chromium.org”
I believe the original poster is referring to clicking on links that open in new window (target="_blank" and the like) while you are already in application mode (the window does not have an address bar), so it is not the command line that is the issue (application mode is apparently activated successfully), but the further behavior of links from within that application mode.


PhistucK

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAKqK8M%3D8kpABq0y6ATTE4FzytgA36JXdq-AQsDGvnxuZ17zwbw%40mail.gmail.com.

Georges Khalil

unread,
Mar 14, 2017, 2:04:28 PM3/14/17
to PhistucK, sun...@chromium.org, “chromium-dev@chromium.org”
Correct. App mode works, but new windows opened from an app mode window are not in app mode themselves.

I wanted to know if that was a deliberate design decision, and what the rationale is.

Eric Drechsel

unread,
Jul 21, 2017, 3:57:47 PM7/21/17
to Chromium-dev, phis...@gmail.com, sun...@chromium.org
I want to use Chromium frameless and let the window environment manage tabs (i3wm). App mode would work if new windows were opened without chrome as well. :/
I know this is a minority use-case, but it creates a lot of friction for us keyboard-driven window management folks. Also sorry to bump old thread.


PhistucK

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
Message has been deleted

Carlos T

unread,
Oct 4, 2017, 6:29:47 PM10/4/17
to Chromium-dev, phis...@gmail.com, sun...@chromium.org
Is anyone going to address this? has anyone figured out a workaround. I don't want my users to have an address box but kiosk mode is too restricted. Kiosk mode does not open the page in a window allowing the user to easily close ALT-f4 is not really viable for users. 


PhistucK

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.

Giovanni Ortuño

unread,
Oct 5, 2017, 11:47:00 PM10/5/17
to cdel...@gmail.com, Chromium-dev, phis...@gmail.com, sun...@chromium.org
Hi!

I'm curious about your use case. A couple of questions:

1. Do you control the website your users are using?
2. Where do these links point to? To other pages in the same origin or to different origins?

We are currently working on a similar feature for installed PWAs on Desktop. Clicking on links in the scope of the installed PWA will open the link in a new App window. If you control the website you could add a Web Manifest to the websites and try out the feature by enabling two flags:

 - chrome://flags/#enable-desktop-pwa-windowing
 - chrome://flags/#enable-experimental-app-banners

Once the flags are enabled you'll see an option to add the website to your desktop in the three dot menu.

Note that currently adding a Web Manifest is enough but in the very near feature the website will need to be a proper PWA as defined by the PWA Checklist.

We won't be changing --app anytime soon. We might offer ways to migrate from it to Desktop PWAs but we have no specific plans yet.

Gio

Reply all
Reply to author
Forward
0 new messages