← Back to team overview

touch-packages team mailing list archive

[Bug 1125442] Re: Always Visible and On Top Windows Steal Focus on Workspace Switch

 

@Marco
I am thinking about a fix for this:
* Add a setting to change the current behavior (e.g. Remember viewport focus)
* Before changing viewport save the currently focused window
* When coming back to a viewport instead of focusing the default window do:
i) if the new setting is enabled try to restore the focus (if the window is still there)
ii) else fallback to the default behavior (focusDefaultWindow)

I want to know your opinion on this approach before starting the
implementation.

Do you think it makes sense to implement this in core (src/) or is it
rather specific to wall plugin and should be implemented there (along
with the setting in wall plugin settings)?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/1125442

Title:
  Always Visible and On Top Windows Steal Focus on Workspace Switch

Status in Ayatana Design:
  New
Status in Unity:
  Triaged
Status in Xubuntu:
  New
Status in “unity” package in Ubuntu:
  Confirmed
Status in “unity” source package in Precise:
  Confirmed

Bug description:
  1. Open any application (e.g. TextEditor)
  2. Right click the title bar
   2a. Select "Always on Visible Workspace"
  3. Right click the title bar
   3a. Select "Always on Top"
  4. Open a different application (e.g. Terminal)
  5. Ensure that window has focus
  6. Switch workspaces (Notice: the first application now has focus)
  7. Return to first workspace (Notice: the second application does not regain focus)

  Expected:

  The initial application should not have ever regained focus, and
  certainly the second application should have it when returning to that
  workspace.

  antarus@mach ~ $ lsb_release -rd
  Description:    Ubuntu 12.04.1 LTS
  Release:        12.04

  antarus@mach ~ $ apt-cache policy unity
  unity:
    Installed: 5.18.0-0ubuntu2
    Candidate: 5.18.0-0ubuntu2
    Version table:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ayatana-design/+bug/1125442/+subscriptions