Unity panel doesn't fit with onboard hide button

Bug #917386 reported by David López
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Onboard
Fix Released
Undecided
Unassigned
onboard (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

1) I use ubuntu 11.10 completely updated

2) I use onboard 0.96.2 from the stable PPA

3) In unity, when I open onboard with 'show status icon' option marked then a small icon appears in the top bar, and when I click on 'Hide onboard' button with the X mark the icon remains on the bar (that's OK). When I open with 'show status icon' unmarked then a big icon appears in the left panel (that's OK). I expected that clicking on 'Hide onboard' minimizates onboard but the icon in the left panel doesn't dissapear.

4) What happened instead: the onboard icon in the left panel dissapears, so in this case the onboard window can't be recovered and it's necesary to open a new onboard instance.

Moreover, the 'Hide onboard' icon (X) is confusing, because it's similar to classical 'close' sign. I haven't notice that that button minimizates onboard instead of closing it, and I open a new instance over and over; I didn't know but I had more than 20 onboard instances opened (12MB of RAM each one).

Please note, the classical small 'minimize' button in the window decoration worked fine with the unity left panel, it's your own 'Hide onboard' button which doesn't.

Tags: a11y
tags: added: a11y
marmuta (marmuta)
Changed in onboard (Ubuntu):
status: New → Confirmed
Changed in onboard:
status: New → Confirmed
Revision history for this message
marmuta (marmuta) wrote :

Thanks for the bug report, David. I believe I've made some progress, though Unity/gnome-shell/GTK3 are still moving targets. We may have to revisit this in the future.

Now, if floating icon, status icon and force-to-top mode are disabled, Onboard should properly show up in the launcher and can be restored from there.

This can't be done with force-to-top mode enabled, so now in this case the floating icon will show up as the last option to unhide onboard.

Changed in onboard:
status: Confirmed → Fix Committed
Revision history for this message
marmuta (marmuta) wrote :

Concerning the 'x' on the hide button, if you have suggestions what to use instead, feel free to let us know (new bug, branch, whatever). We tried some alternatives during development and of those, the cross simply seemed to be the least bad choice.

Revision history for this message
Francesco Fumanti (frafu) wrote :

I am running trunk 606; auto-hide, the status icon, the icon palette and force to top mode are enabled. When I disable to force to top mode when the icon palette is visible, the icon palette disappears.

Are you able to reproduce the problem or is it a local problem on my system?

Revision history for this message
marmuta (marmuta) wrote :

Francesco, I can't reproduce this here. The icon palette just flickers once. Are there any backtraces on the console? Please mail me
gsettings list-recursively apps.onboard
(possibly remove snippets).

Revision history for this message
David López (david-lopez-upct) wrote :

marmuta, I think that the X icon will be perfect when this issue is solved.

PD: Francesco, I've started onboard with: Start Onboard hidden, Show status icon, Show Onboard when locking the screen, Show tool-tips and Force window to top enabled, and then disabled force to top, and the icon pallette don't disappear. I've tested in versions 0.96.1 from official repository (with option LANGUAGE=en) and 0.96.2 from PPA, maybe this is a new bug in trunk 606.

Revision history for this message
David López (david-lopez-upct) wrote :

I've just installed onboard 0.97.0~preview~tr713~sysdef-0ppa~precise1 in precise alpha2, and now onboard can't be minimized to the unity panel, because unchecking 'Show status icon' automatically marks 'Show floating icon when Onboard is hidden'. Is this a bug or is it by design? If it's by desing in my opinion it's a wrong step, I think that the right place to hide onboard in unity is the left panel, not a floating icon in the desktop or the notification area.

Revision history for this message
marmuta (marmuta) wrote :

This is by design, David, though possibly only temporarily. The fix caused regressions since a recent update of unity and I had to revert it. I'm not sure yet if it has to stay like this.
Gerd was working on making onbord single instance, this will possibly mitigate this problem too. Starting a second instance of onboard will then unhide the existing one. Don't download a snapshot right now though, we're (I'm) still debugging other issues.

Changed in onboard:
status: Fix Committed → In Progress
Revision history for this message
David López (david-lopez-upct) wrote :

Glad to hear your're working in the single instance. I tried to program a script to hide/unhide onboard, but I'm afraid I can't do it: http://askubuntu.com/questions/103448/script-to-minimize-unminimize-window-in-unity I hope you can do it, that will be a forward step.

The new option 'Autoshow when editing test' in 0.97 is a great, great advance. IMHO with this option and 'show status icon' onboard is almost perfect (*). Congratulations, you're doing a great work.

(*) IMHO, 'perfect' means:

- hide/unhide onboard
- automatically for text boxes, terminals, etc.
- in unity
- with only a finger tap
- without strange floating or status icons

Changing the status icon for the unity panel icon and onboard will be perfect for me :-D

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (6.2 KiB)

This bug was fixed in the package onboard - 0.97.0-0ubuntu1

---------------
onboard (0.97.0-0ubuntu1) precise; urgency=low

  * Request for sponsorship: New release available (LP: #932855)
  * debian/control:
      Build-Depends: add libdconf-dev
      Depends: add gir1.2-wnck-3.0, libdconf0
      Recommends: add gir1.2-atspi-2.0
  * debian/copyright: add year 2012
  * debian/patches: update onboard-defaults.conf file
  * Add improved scanning feature to osk extension
    - scanning works with all official layouts
    - different scan modes are available
    - support for 1, 2, 3 and 5 switches
    - devices can be configured to be used exclusively for scanning
  * Port osk extension to GTK3
  * Add auto-show with auto-move feature; requires at-spi2 (LP: #443986)
    - confirm activation of at-spi2 with a dialog
    - automatically move Onboard when it covers the input focus
    - no auto-move when the keyboard is manually shown
    - logging of focused at-spi accessibles through 'onboard -ddebug'
  * Hide and show Onboard with a middle click on the indicator icon
  * Add new icons for appindicator matching Ambiance and Radiance themes
  * Add lockdown options for kiosk mode (LP: #879944)
  * Silently embed into gnome-screen-saver if no app did so (LP: #857813)
  * Make Onboard aware of screen rotation (LP: 911821)
  * Protect against accidental resize/move of Onboard's windows (LP: #893644)
  * Add option to disable resize handles (LP: #930373)
  * Allow resizing with all mouse buttons
  * Show menu entry for Xubuntu/Xfce (LP: #833862)
  * Extend force-to-top mode to the Icon Palette
  * Allow /user/local/share/onboard as an alternative installation directory
  * Support starting onboard-settings in cli with non default language
  * Don't start more than one instance under normal usage
  * Fix onboard-settings crash in get_selected_layout_filename (LP: #913484)
  * Add double click and drag click also for non dwelling mode
  * Adjust category of the onboard-settings.desktop file (LP: #833873)
  * Add more modifier behaviors: cycle (default), dblclick, latch, lock
  * Add option to always show on visible workspace (LP: #803875)
  * Add Alan Bell's themes: Typist, ModelM
  * Add HighContrast, HighContrastInverse and LowContrast themes
  * Option to track GTK theme to have Onboard switch to matching theme
  * Make the colors of the icon of the Icon Palette adapt to the theme
  * Calculate corner radius of the Icon Palette based on it's size
  * Let Onboard draw itself the icon of Icon Palette instead of loading it
  * Make a newly created customized theme the active one
  * Stop selecting the default theme when resetting or deleting a theme
  * Remove overrides for font setting and key label from themes
  * Add format information to schemas, themes and colors files
  * Convert sticky-key-behavior and system-theme-associations to dicts
  * Show touch handles when activating drag click in dwell mode
  * Show touch handles on long press of the move button
  * Save window geometry 5 seconds after it was changed (LP: #819971)
  * Add option to keep aspect ratio of keyboard window
  * Update and fix system defaults example file
  * Give the AppIndic...

Read more...

Changed in onboard (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
marmuta (marmuta) wrote :

Here is what we have now:

The original minimizing fix stays disabled, Unity and gnome-shell refused to let onboard unminimize itself once you pressed the launcher. This broke auto-show.

But, single-instance checking is in place. Running onboard from a launcher first starts then unhides it. This should generally work, no matter which mode onboard is in (force-to-top, with/without status, floating icon.
Disadvantage: it's slower. I don't see much of a delay myself, but we'll have to see how it performs for everyone.

Changed in onboard:
status: In Progress → Fix Released
Revision history for this message
David López (david-lopez-upct) wrote :

Thanks marmuta, I'm testing auto-show in my PC with precise alpha2 with virtualbox, and it seems really fast, I haven't noticed any delay.

I would like to test it in my tablet, any chance of updating stable or snapshot ppa to 0.97.0 in oneiric? Is it 'safe' to use 0.97.0~preview~tr626-0ppa~oneiric1 ? Thanks.

Revision history for this message
marmuta (marmuta) wrote :

0.97 has just been accepted into precise. This time you can get the latest version from the main repo (disable the snapshot ppa). At the moment there may be no need for snapshots, although this could change when bug reports come pouring in.

The speed issue I meant is about manual unhiding. You get what you were asking for in this bug report by locking onboard to unity launcher. You can then click the launcher to unhide an existing instance. This still involves running onboard briefly, so that's why I was thinking there may be a noticeable delay - not in my testing though. Let me know how it goes on the tablet.

Revision history for this message
David López (david-lopez-upct) wrote :

Sorry, maybe I've been unclear, my tablet uses oneiric. I only see trunk 626 for oneiric in the snaphshot ppa, that's the reason I asked you if 0.97.0 will be in any repo (regular/stable/snapshot) for oneiric.

I only have precise in a virtualbox machine in my PC. I only use it for testing, not a regular use.

Revision history for this message
Francesco Fumanti (frafu) wrote :

There is no need to disable the snapshots PPA repository; the versioning scheme is chosen so that 0.97.0-0ubuntu1 superseeds 0.97.0~preview...
Moreover, as David is interested into Onboard 0.97.0 for oneiric, I am considering putting revision 756 of trunk into the Snapshots PPA for oneiric. This might help us decide whether to put Onboard 0.97.0 into the stable PPA for oneiric.

Revision history for this message
marmuta (marmuta) wrote :

Sorry David, i missed the oneiric reference. I can't tell if any 0.97 version is fully functional there yet, I haven't had time to test this.
Thanks for the explanation Francesco, good idea to put it in oneiric snapshots first.

Revision history for this message
Francesco Fumanti (frafu) wrote :

Version 0.97.0 with the additional language bugfix (revision 756 of trunk) is now in the Snapshots PPA for oneiric. It should be available as soon as launchpad has finished building it.

Please, be aware that the new auto-show feature of Onboard requires at-spi2 and I don't know in what state at-spi2 is in oneiric.

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.