← Back to team overview

ubuntu-apps-bugs team mailing list archive

[Bug 1288760] [NEW] WM_CLASS - Set as sanitized form of URL

 

Public bug reported:

As it stands currently, launching the Ubuntu Web Browser with a specific
URL (example below) does not set a sanitized form version of the URL to
the WM_CLASS (STRING). Setting the WM_CLASS according to the URL (if one
exists) allows the Unity / Unity Application Switcher (reference to
desktop, not mobile) to differentiate between instances of webbrowser-
app.

Example of executation of webbrowser-app:
/usr/bin/webbrowser-app --chromeless https://plus.google.com/

Should set WM_CLASS to: "plus.google.com", "webbrowser-app"
Actually sets WM_CLASS to: "webbrowser-app", "webbrowser-app"

DistroRelease: Ubuntu 14.04
Package: webbrowser-app 0.23+14.04.20140304.is.0.23+14.04.20140219-0ubuntu1
ProcVersionSignature: Ubuntu 3.11.0-17.31-generic 3.11.10.3
Uname: Linux 3.11.0-17-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Mar 6 15:16:04 2014
ExecutablePath: /usr/bin/webbrowser-app
InstallationDate: Installed on 2014-03-01 (4 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
ProcCmdline: webbrowser-app --chromeless https://plus.google.com

Usecase:

An individual creates a .desktop file so they can have Google+ in a
separate, chromeless instance of the Ubuntu Web Browser. The individual
creates said desktop file, launches Google+ shortcut and finds that the
webbrowser-app sets the icon to the default Browser app icon (rather
than their set Google+ icon) and therefore makes it more difficult to
differentiate instances of the browser. If the user opens another
instance of the Ubuntu Web Browser for [x] purpose, the Unity bar will
indicate there are multiple instances of the webbrowser-app, rather than
two separate instances (one chromeless with Google+, one not).

Actual use case not related to Ubuntu Web Browser:
Google Chrome properly sets the WM_CLASS when the user decides to create an "Application Shortcut", which allows the system to differ between instances of Chrome and keeps the user's application shortcut in it's own chromeless instance.

** Affects: webbrowser-app (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  As it stands currently, launching the Ubuntu Web Browser with a specific
  URL (example below) does not set a sanitized form version of the URL to
  the WM_CLASS (STRING). Setting the WM_CLASS according to the URL (if one
  exists) allows the Unity / Unity Application Switcher (reference to
  desktop, not mobile) to differentiate between instances of webbrowser-
  app.
  
  Example of executation of webbrowser-app:
  /usr/bin/webbrowser-app --chromeless https://plus.google.com/
  
  Should set WM_CLASS to: "plus.google.com", "webbrowser-app"
  Actually sets WM_CLASS to: "webbrowser-app", "webbrowser-app"
+ 
+ DistroRelease: Ubuntu 14.04
+ Package: webbrowser-app 0.23+14.04.20140304.is.0.23+14.04.20140219-0ubuntu1
+ ProcVersionSignature: Ubuntu 3.11.0-17.31-generic 3.11.10.3
+ Uname: Linux 3.11.0-17-generic x86_64
+ NonfreeKernelModules: fglrx
+ ApportVersion: 2.13.2-0ubuntu5
+ Architecture: amd64
+ CurrentDesktop: Unity
+ Date: Thu Mar 6 15:16:04 2014
+ ExecutablePath: /usr/bin/webbrowser-app
+ InstallationDate: Installed on 2014-03-01 (4 days ago)
+ InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
+ ProcCmdline: webbrowser-app --chromeless https://plus.google.com
  
  Usecase:
  
  An individual creates a .desktop file so they can have Google+ in a
  separate, chromeless instance of the Ubuntu Web Browser. The individual
  creates said desktop file, launches Google+ shortcut and finds that the
  webbrowser-app sets the icon to the default Browser app icon (rather
  than their set Google+ icon) and therefore makes it more difficult to
  differentiate instances of the browser. If the user opens another
  instance of the Ubuntu Web Browser for [x] purpose, the Unity bar will
  indicate there are multiple instances of the webbrowser-app, rather than
  two separate instances (one chromeless with Google+, one not).
  
  Actual use case not related to Ubuntu Web Browser:
  Google Chrome properly sets the WM_CLASS when the user decides to create an "Application Shortcut", which allows the system to differ between instances of Chrome and keeps the user's application shortcut in it's own chromeless instance.

-- 
You received this bug notification because you are a member of Ubuntu
Apps bug tracking, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1288760

Title:
  WM_CLASS - Set as sanitized form of URL

Status in “webbrowser-app” package in Ubuntu:
  New

Bug description:
  As it stands currently, launching the Ubuntu Web Browser with a
  specific URL (example below) does not set a sanitized form version of
  the URL to the WM_CLASS (STRING). Setting the WM_CLASS according to
  the URL (if one exists) allows the Unity / Unity Application Switcher
  (reference to desktop, not mobile) to differentiate between instances
  of webbrowser-app.

  Example of executation of webbrowser-app:
  /usr/bin/webbrowser-app --chromeless https://plus.google.com/

  Should set WM_CLASS to: "plus.google.com", "webbrowser-app"
  Actually sets WM_CLASS to: "webbrowser-app", "webbrowser-app"

  DistroRelease: Ubuntu 14.04
  Package: webbrowser-app 0.23+14.04.20140304.is.0.23+14.04.20140219-0ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-17.31-generic 3.11.10.3
  Uname: Linux 3.11.0-17-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.13.2-0ubuntu5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Mar 6 15:16:04 2014
  ExecutablePath: /usr/bin/webbrowser-app
  InstallationDate: Installed on 2014-03-01 (4 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  ProcCmdline: webbrowser-app --chromeless https://plus.google.com

  Usecase:

  An individual creates a .desktop file so they can have Google+ in a
  separate, chromeless instance of the Ubuntu Web Browser. The
  individual creates said desktop file, launches Google+ shortcut and
  finds that the webbrowser-app sets the icon to the default Browser app
  icon (rather than their set Google+ icon) and therefore makes it more
  difficult to differentiate instances of the browser. If the user opens
  another instance of the Ubuntu Web Browser for [x] purpose, the Unity
  bar will indicate there are multiple instances of the webbrowser-app,
  rather than two separate instances (one chromeless with Google+, one
  not).

  Actual use case not related to Ubuntu Web Browser:
  Google Chrome properly sets the WM_CLASS when the user decides to create an "Application Shortcut", which allows the system to differ between instances of Chrome and keeps the user's application shortcut in it's own chromeless instance.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1288760/+subscriptions


Follow ups

References