This bug was fixed in the package unity - 5.12-0ubuntu1

---------------
unity (5.12-0ubuntu1) precise-proposed; urgency=low

  * New upstream release.
    - Launcher, Alt-Tab - clicking on launcher item or selecting a app in Alt-
      Tab raises all app windows, not just most recently focused (LP: #959339)
    - [heap corruption?] compiz crashed with SIGSEGV in _int_malloc() from
      g_realloc() from ... from g_dbus_connection_send_message_with_reply()
      from g_object_unref() from unity::dash::HomeLens::Impl::~Impl() from
      unity::dash::HomeLens::~HomeLens() (LP: #931201)
    - compiz crashed with SIGSEGV in _int_malloc() from __libc_calloc() from
      XOpenDisplay() from nux::WindowThread::ThreadCtor() (LP: #947844)
    - Regression: Installing apps causes a terrible visual glitch-- have to
      restart X.org. (LP: #981168)
    - Window management - unity doesn't realise when applications bring their
      windows to the front (LP: #802816)
    - Dash - Clicking on the desktop dash border should do nothing, *NOT*
      close the dash (LP: #839472)
    - [FFe, UIFe] HUD - The HUD does not respect launcher icon size settings
      in autohide mode (LP: #921506)
    - compiz crashed with SIGSEGV in g_volume_get_mount() (LP: #918548)
    - multiple instances or double icons of application detected on bamfdaemon
      respawn (LP: #928912)
    - Panel is transparent when Dash is open; no blur no average BG color
      (LP: #965323)
    - Unity crashes with SIGSEGV when hitting debug DBus interface hard
      (LP: #979429)
    - compiz crashed with SIGSEGV in _int_malloc() from g_object_unref() from
      unity::dash::Model<unity::dash::FilterAdaptor>::~Model() (LP: #941750)
    - indicators menu are sometimes cut off at screen edge (LP: #883317)
    - the shortcut keys in workspace section of the shortcut overlay aren't
      translated (LP: #980828)
    - [regression] Dash keeps repainting unnecessarily (LP: #980924)
    - compiz crashed with SIGSEGV in nux::NTextureData::ClearData() from
      nux::NTextureData::~NTextureData() from nux::Texture2D::~Texture2D()
      (LP: #952378)
    - compiz crashed with SIGSEGV in g_object_unref() from
      unity::dash::Settings::~Settings() from
      unity::UnityScreen::~UnityScreen() (LP: #981764)
    - compiz crashed with SIGSEGV in unity::dash::ResultView::~ResultView()
      from unity::dash::ResultViewGrid::~ResultViewGrid() from
      nux::Object::Destroy() from nux::Object::UnReference() (LP: #942286)
    - compiz crashed with SIGSEGV in
      ends_with_iter_select<__gnu_cxx::__normal_iterator<char const*,
      std::basic_string<char> >, char const*, boost::algorithm::is_iequal>()
      from unity::ui::PointerBarrierWrapper::EmitCurrentData() (LP: #983268)
    - Chinese can't be shown completely in dash filter (LP: #984583)
    - [Unity 5.10] compiz crashed with SIGSEGV in
      unity::hud::HudIconTextureSource::ColorForIcon() from
      unity::hud::Icon::Icon() from emit from unity::IconTexture::IconLoaded
      (LP: #983646)
    - [regression] Close button does not close the dash/HUD (LP: #986264)
    - compiz crashed with SIGSEGV in g_volume_eject_with_operation_finish()
      from unity::launcher::DeviceLauncherIcon::OnEjectReady() from
      (LP: #977762)
    - Launcher - should allow to dnd on any icon (and not just the ones
      matching the type) (LP: #880798)
    - unity confused with chrome/chromium web apps (LP: #692462)
    - App Switcher (Alt+Tab) doesn't display the full title of apps in Chinese
      (LP: #830801)
    - alt-tab - quick alt + tab (before the switcher shows) not consistent
      (LP: #861250)
    - run command (alt+F2): results do not contain the exact match
      (LP: #842108)
    - It's possible to highlight two different Quicklist menu items
      simultaneously (LP: #911561)
    - Hiding the dash from a lens view fades out home view (LP: #914785)
    - Flickering in the dash (LP: #961979)
    - Dash - Card view layout needs fixing (LP: #977817)
    - [regression] Blurred view of the current workspace is shifted down when
      unity dash is in fullscreen mode (LP: #977922)
    - Quicklist key navigation is not consistent with menus (LP: #978926)
    - Quicklist key navigation should skip the disabled items (LP: #979096)
    - Pointer locks up after dragging windows with three touch gesture
      (LP: #979418)
    - Alt-Tab, multimonitor - The Alt-Tab overlay should appear on the display
      which has focus. (LP: #981795)
    - Hud to Dash forgets last focused window on exit (LP: #984639)
    - Remote scopes are not restarted after crash (LP: #984760)
    - compiz crashed with SIGSEGV in unity::dash::DashView::default_focus()
      (LP: #982730)
    - [regression] Launcher should raise all the urgent windows, not only the
      top-most (LP: #986443)
    - Clicking on the quicklist application title doesn't initiate the spread
      when needed (LP: #986461)
    - Hud: spinner keeps spinning long after the query returns (LP: #987781)
    - Dash: Incorrectly scaled icons (LP: #988338)
    - Music Lens doesn't work for albums in Precise with Rhythmbox
      (LP: #970509)
    - New apps on the launcher have no shortcut key until something is being
      closed (LP: #778499)
    - Lens search hint changes to "search" when the entry gets unfocused
      (LP: #887036)
    - don't show disabled shortcut in keyboard shortcut help (LP: #926418)
    - HUD: Can not be closed by clicking on HUD icon (LP: #963918)
    - Show desktop icon should be movable, definitely not on top of BFB
      (LP: #964073)
    - [card view] bottom of results cropped when a category is not expanded
      (LP: #975003)
    - Non closable maximized windows should show a disabled close button
      (LP: #981196)
    - make launcher fails (LP: #983989)
    - Sources filter shouldn't be shown if there's just one item (LP: #940161)
    - Conditional jump or move depends on uninitialised value(s)
      unity::SearchBar::UpdateBackground(bool) (SearchBar.cpp:529)
      (LP: #983333)
 -- Didier Roche <[email protected]>   Fri, 27 Apr 2012 08:33:25 +0200

** Changed in: unity (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dp-unity, dp-unity2d
https://bugs.launchpad.net/bugs/692462

Title:
  unity confused with chrome/chromium web apps

Status in BAMF Application Matching Framework:
  Fix Released
Status in Chromium:
  Unknown
Status in The Window Navigator Construction Kit: libwnck:
  Fix Released
Status in Unity:
  Fix Released
Status in Unity 2D:
  Invalid
Status in Unity Distro Priority:
  Fix Committed
Status in “bamf” package in Ubuntu:
  Confirmed
Status in “chromium-browser” package in Ubuntu:
  Fix Released
Status in “unity” package in Ubuntu:
  Fix Released
Status in “unity-2d” package in Ubuntu:
  Invalid
Status in “bamf” source package in Precise:
  Confirmed
Status in “chromium-browser” source package in Precise:
  Fix Released
Status in “unity” source package in Precise:
  Fix Released
Status in “unity-2d” source package in Precise:
  Invalid

Bug description:
  SRU testcase

  1. start chromium-browser
  2. create a webapp for twitter.com
  3. drag it to launcher while chromium is already running
  4. click its icon you will see twitter.com is opened in a new window but is 
still associated with chromium icon
  5. now install Bamf from precise-proposed
  6. note that twitter window is associated to the newly dropped icon in the 
launcher.



  On my classic desktop panel, i have 2 webapps launchers in the gnome-panel.
  Basically, they are just  "chromium-browser --app=http://some.web.site 
--some-other-flags ..." + a nice icon
  Chromium is my default browser.
  In the new unity based desktop mode, those webapps now appear nicely.

  The problem is that when i start my default web browser, unity
  highlights on the left one of my webapp launchers, instead of creating
  one for the browser itself.

  And worse.. once the browser is running, i can't start this webapp anymore as 
unity keeps raising the main browser instead.
  For the other webapp, it works as expected.

  ii  libunity-misc0           0.1.1-0ubuntu3           Miscellaneous functions 
for Unity - shared library
  ii  libunity0                0.2.46-0ubuntu5          binding to get places 
into the launcher - shared library
  ii  libunity3                3.2.8-0ubuntu1           binding to get places 
into the launcher - shared library
  ii  unity                    3.2.8-0ubuntu1           Interface for Ubuntu 
Desktop Edition
  ii  unity-asset-pool         0.8.18-0ubuntu2          Unity Assets Pool
  ii  unity-common             3.2.8-0ubuntu1           Common files for the 
interface for Ubuntu Desktop Edition
  ii  unity-place-applications 0.2.26-0ubuntu2          Application place for 
unity
  ii  unity-place-files        0.5.32-0ubuntu1          File place for unity

  =========================================================================

  This bug would be an ideal bug for someone to get started hacking on
  Unity, here's some information:

   * Time to fix: unknown but large
   * Difficulty: brutal
   * Implementation:

  This is a complex issue to solve correctly. The most correct
  implementation associates URI's with windows inside of bamf. Such that
  bamf's exported tree becomes BamfApplication -> BamfWindow ->BamfUri
  (currently called BamfTab and incomplete in source).

  To achieve this goal there are three primary components. The first is
  a BamfUriSource. This source is a class used by an application to
  export its known URI's over dbus to BAMF. The implementation details
  are not that important, however it is important that it be trackable
  (so if it crashes we can eliminate references to it) and that it
  provide two way communication. In short, it needs to tell the bamf
  daemon about all the uri's it has, and the bamf daemon needs to in
  turn be able to ask a bamf uri source to "show" a specific uri in its
  window.

  Bamf Daemon will then convert the BamfUriSource into many BamfUri's
  for exporting over the bus. A bamf uri should look something like and
  inherit from BamfView:

  char * bamf_uri_get_uri (BamfUri *self)
  char * bamf_uri_get_icon (BamfUri *self)
  char * bamf_uri_get_title (BamfUri *self)
  void   bamf_uri_show (BamfUri *self)

  In short: that part sucks

  The second part is making web browsers export tab uri information over
  dbus using BamfUriSource. This should be somewhat simple if you know
  the browser plugin API's using a standard NPAPI plugin. The C potion
  of the plugin can consume bamf and pass data along, while the
  javascript can communicate with the browser to get relevant
  information about the state of the system.

  The third and final task is to hook this all into unity. This is
  relatively straightforward to do. By making a launcher shortcut that
  points to a uri rather than an application, unity can associate an
  BamfUri with it, watching when it opens and closes. When clicked,
  unity can call bamf_uri_show () on the proper uri, which will result
  in the window raising itself and flipping to the appropriate tab.
  Excellent.

  The most clarifying thing I can think to say here is that when you
  call bamf_uri_show, what should happen is libbamf will call Show on
  the correct dbus object that was exported by bamfdaemon. Bamfdaemon
  will then find the associated BamfUriSource for that BamfUri object,
  can call show back on it, passing along the id of the uri it wishes to
  have shown. The NPAPI plugin will receive this call, and pass the
  information up to the javascript layer, which should then raise the
  window and switch tabs. Like a boss.

   * Where to look: lp:bamf and lp:unity are the primary consumers.

     -lp:bamf requires the most work. BamfTabSource and BamfTab need to be 
converted, exported, and consumed in libbamf
     -lp:unity would simply consume the newly exported information

   * Workflow information: http://unity.ubuntu.com/getinvolved/

To manage notifications about this bug go to:
https://bugs.launchpad.net/bamf/+bug/692462/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to