Menu

#990 Auto close

open
Linux (119)
5
2014-04-19
2011-09-23
Marco
No

After inactivity, the passwordsafe window minimizes (on MS-Windows, to the tray). On the new Ubuntu Unity UI, where does it go? How do I bring it back?

Discussion

  • Saurav Ghosh

    Saurav Ghosh - 2011-10-03

    I don't have an installation with the Unity UI, but on previous Ubuntu versions, it minimizes to the Panel (a bar at the top). Is there no such thing in Unity?

    [Sorry about the late reply. I was out on vacation]

     
  • Marco

    Marco - 2011-10-03

    There is a bar at the top, but it is more like an old-school Macintosh bar, rather than a Gnome bar with widgets. I am sorry that I am not an expert enough with Unity to give a better answer.

     
  • Marco

    Marco - 2011-10-03

    But maybe the better way in the upcoming release (Ubuntu 11.10 Oneiric Ocelot) is to use a package called "sni-qt" that converts (automatically) Qt systray icons into indicators:

    http://www.webupd8.org/2011/09/ubuntu-indicator-for-qt-applications.html#disqus_thread

     
  • Saurav Ghosh

    Saurav Ghosh - 2011-10-05

    PasswordSafe is built with wxWidgets, not Qt. But you can give it a try. I still need to get myself a Ubuntu installation where Unity is enabled. So far, it won't run on any h/w available to me.

     
  • Saurav Ghosh

    Saurav Ghosh - 2011-10-21

    I finally managed to get a Unity-enabled 11.04 installation, and from what I can tell, if pwsafe auto-locks, there is no way to get it back if it hides its UI instead of just minimizing. I would suggest clearing the "Put icon in System Tray" check box under System tab in preferences for now, so that pwsafe only minimizes itself while locking and doesn't hide its UI completely. When minimized, it can be brought back up by clicking its icon in the Launcher, or by just Alt-Tab. For Alt-Tab to work, you might need to have "Show Minimized" checked in the Behaviour tab of Application Switcher's preferences in CompizConfig.

    If you run gnome-panel in a terminal, you can see the pwsafe icon in the top panel. This is just in case you're stuck with an invisible pwsafe and must get it back (without killing and restarting it).

    I am not suggesting the above points as how things should work. Merely as workarounds till we can figure out how to get it to work properly under Unity. With the first workaround, you won't get the Recent Usage History anyway, which was there with the gnome panel.

    I tried the link (http://www.webupd8.org/2011/04/how-to-re-enable-notification-area.html) and did a "unity --replace" after that. But pwsafe did not show up in the top panel.

    I think we need some Unity specific code to make it work properly, but I'm not sure what that is.

     
  • Marco

    Marco - 2011-10-21

    Would you like me to try Xubuntu or Kubuntu, or (2011-11-08) Fedora 16? Or are those distros unsupported?

     
  • Saurav Ghosh

    Saurav Ghosh - 2011-10-22

    None of the distros are unsupported, as far as I know, although we can't build/test on every distro. Rony (the project head) can answer this better.

    I think this particular problem is more about Unity than a distro. Any distro running with Unity will probably have the same problems. I have tested this on Ubuntu 11.04 without Unity, and that doesn't have this issue. We need to write code to support Unity explicitly, but I'm not sure right now, exactly what code would that be.

     
  • Saurav Ghosh

    Saurav Ghosh - 2012-12-06

    This doesn't seem to be an issue anymore with Ubuntu 12.04. I can see the pwsafe icon on the top bar even with Unity. Can others confirm?

    I didn't change any of the default Unity/Ubuntu configurations after upgrading from 11.10.

     
  • JP Vossen

    JP Vossen - 2014-04-19

    No, using Ubuntu/Unity 12.04 and passwordsafe-ubuntu-12.04-LTS-0.92BETA.amd64.deb I'm seeing this old problem. I know Rony said "won't fix" in https://sourceforge.net/p/passwordsafe/bugs/1044/, but I disagree and think it's actually kind of a big deal because:

    1. The "Unity" version is the stock Ubuntu offering so it's the largest Ubuntu audience on the most popular distro.
    2. This violates the heck out of the principle of least surprise.
    3. It leads to a really odd situation where config changes are not saved when you "exit" because you didn't really exit.
    4. So you can end up with a number of instances that will all think they have read-write access to both the psafe3 file, the config file and maybe the backup files. I can see that ending...badly.

    And oddly, the "tray" DID work when using Wine (which I see in one of the URLs is whitelisted). That's truly ironic, so I tried the following, which had no effect on my Unity 2D desktop.

    gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"

     

Log in to post a comment.