Launcher Apps should opened in a new tab instead of in a new window

Bug #1113353 reported by Valentin
34
This bug affects 8 people
Affects Status Importance Assigned to Milestone
WebApps Tests
Won't Fix
Undecided
Unassigned
WebApps: libunity-webapps
Won't Fix
Undecided
Unassigned

Bug Description

Actually Unity Webapps opens in a new browser windows, also if there is actually open a browser window. They should open in the actual window in a new tab.

Revision history for this message
Kai Mast (kai-mast) wrote :

Or if they open in a new window at least hide the tab and address bar (so they look like a desktop application).

Revision history for this message
Kai Mast (kai-mast) wrote :

Bug still exists in saucy!

tags: added: firefox raring saucy
Revision history for this message
Grzegorz Wiciak (grzegorzwiciak) wrote :

Bug still exists in WebApps: libunity 2.4.1 and is about unity-webapps-service.c where i found function:

/** //line 955
 *
 * @return command line format, have to be freed
 */
static char *
get_browser_command_line_format (const gchar *homepage)
{
  static const char * URI_SCHEME_HTTP = "http";

  GAppInfo * info = g_app_info_get_default_for_uri_scheme (URI_SCHEME_HTTP);
  g_return_val_if_fail (NULL != info, NULL);

  const char * exe_name = g_app_info_get_executable (info);
  g_return_val_if_fail (NULL != exe_name, NULL);

  if (g_str_has_suffix (exe_name, "firefox"))
    {
      /* gchar *profile_path = _firefox_get_profile_for_app (homepage);

      if (profile_path)
 {
   return g_strdup_printf ("%s --chromeless -no-remote -profile %s '%%s'", exe_name, profile_path);
   }*/
      return g_strdup_printf ("%s --new-window '%%s'", exe_name);
    }
  return g_strdup_printf ("%s --chromeless --new-window '%%s'", exe_name);
} //line 981

I do not know why this option is set permanently to open new window, because we can choose in browser options how to open website.

Revision history for this message
Kai Mast (kai-mast) wrote :

Seems they want to implement chromeless webapps rather than fixing this bug.

Revision history for this message
Robert Bruce Park (robru) wrote :

Indeed, we are moving towards a new chromeless webapps container that runs independently of firefox/chromium.

Changed in libunity-webapps:
status: New → Won't Fix
Changed in webapps-tests:
status: New → Won't Fix
Revision history for this message
Si Dedman (si-dedman) wrote :

Seems the workaround is tab mix plus 'single window only' option: https://addons.mozilla.org/en-US/firefox/addon/tab-mix-plus/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.