Onboard window is wider than the screen

Bug #991318 reported by Norbert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Onboard
Fix Released
Low
Unassigned
onboard (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Asus T101MT, onboard oversized on start (Gnome Classis, Ubuntu 12.04).
Please maximize it at all width of the screen.

I have tested the Trunk version.
I removed old version with sudo apt-get purge onboard;
I downloaded the tarball, installed its dependency python-distutils-extra with sudo apt-get install python-distutils-extra
and after sudo ./setup.py install.

But the onboard is still oversized, see screenshot. It's wider than the screen.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: onboard 0.97.0-0ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic i686
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
Date: Sun Apr 29 21:15:42 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
SourcePackage: onboard
UpgradeStatus: Upgraded to precise on 2012-04-19 (10 days ago)

Related branches

Revision history for this message
Norbert (nrbrtx) wrote :
Revision history for this message
marmuta (marmuta) wrote :

Thank you! It looks like something went wrong when resizing the window. The move button obviously shouldn't become unreachable. Do you remember what you did right before the window got into that state?

Please post the output of
$ xrandr
$ gsettings list-recursively apps.onboard.window

After you have done this, please try resizing the window again. The move button is supposed to snap into view after each resize action (also when hiding and on exit).
Let me know if that happens.

Revision history for this message
Norbert (nrbrtx) wrote :

No I found new error about 'org' and 'apps', see https://bugs.launchpad.net/ubuntu/+source/onboard/+bug/991384.

My ' xrandr ' is:
Screen 0: minimum 320 x 200, current 1024 x 600, maximum 4096 x 4096
LVDS1 connected 1024x600+0+0 (normal left inverted right x axis y axis) 220mm x 129mm
   1024x600 60.0*+
   800x600 60.3 56.2
   640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)

My ' gsettings list-recursively apps.onboard.window ' (onboard do not start )
gsettings list-recursively apps.onboard.window
apps.onboard.window background-transparency 10.0
apps.onboard.window enable-inactive-transparency false
apps.onboard.window force-to-top false
apps.onboard.window inactive-transparency 50.0
apps.onboard.window inactive-transparency-delay 1.0
apps.onboard.window keep-aspect-ratio false
apps.onboard.window resize-handles 'E SE S SW W NW N NE'
apps.onboard.window transparency 0.0
apps.onboard.window transparent-background false
apps.onboard.window window-decoration false
apps.onboard.window window-state-sticky true
apps.onboard.window.landscape height 200
apps.onboard.window.landscape width 600
apps.onboard.window.landscape x 100
apps.onboard.window.landscape y 50
apps.onboard.window.portrait height 200
apps.onboard.window.portrait width 600
apps.onboard.window.portrait x 100
apps.onboard.window.portrait y 50

Revision history for this message
Norbert (nrbrtx) wrote :

Okay, I solved the new problem, so I can return to the origin.

Once onboard started and its width adjusted to the screen size a have ' gsettings list-recursively apps.onboard.window '
apps.onboard.window background-transparency 10.0
apps.onboard.window enable-inactive-transparency false
apps.onboard.window force-to-top true
apps.onboard.window inactive-transparency 50.0
apps.onboard.window inactive-transparency-delay 1.0
apps.onboard.window keep-aspect-ratio false
apps.onboard.window resize-handles 'E SE S SW W NW N NE'
apps.onboard.window transparency 0.0
apps.onboard.window transparent-background false
apps.onboard.window window-decoration false
apps.onboard.window window-state-sticky true
apps.onboard.window.landscape height 200
apps.onboard.window.landscape width 1085
apps.onboard.window.landscape x 517
apps.onboard.window.landscape y 373
apps.onboard.window.portrait height 200
apps.onboard.window.portrait width 600
apps.onboard.window.portrait x 100
apps.onboard.window.portrait y 50

My screen is 1024px wide, so I wonder oversize at next boot.

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

I am not sure if the following procedure works, but it is worth a try:

You might try to disable the force window to the top option. Onboard might then be aware that it does not fit on the screen and resize itself. Then resize it manually to your desired size and wait a bit for Onboard to store the new size to the preferences. Finally, you can re-enable force to top mode.

Revision history for this message
Norbert (nrbrtx) wrote :

I compiled deb package of rev 822. Keyboard has correct size and don't change it width between reboots.

Revision history for this message
marmuta (marmuta) wrote :

According to comment #6 this bug wasn't an issue anymore with trunk. However an actual check if Onboard fits on screen was still missing. I've added that now with commit 920.

Changed in onboard:
status: New → Fix Committed
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.7 KiB)

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

---------------
onboard (0.98.0-0ubuntu1) quantal; urgency=low

  * Freeze exception request for new upstream release (LP: #1041303)
  * debian/pycompat: removed as not used anymore
  * debian/control:
    - Build-Depends:
      + replace python and python-all-dev with python3-all-dev
      + replace python-distutils-extra with python3-distutils-extra
      + remove libxi-dev as libgtk-3-dev pulls it in
    - remove X-Python-Version and set X-Python3-Version: >= 3.2
    - Depends:
      + remove ${python:Depends}, python-cairo, python-dbus,
        python-virtkey (>= 0.60.0) and gir1.2-wnck-3.0
      + add ${python3:Depends}, python3-cairo, python3-gi-cairo,
        python3-dbus and python3-virtkey (>= 0.61.0)
  * debian/rules:
    - enhance it to work with python2 and python3
    - add procedure to switch between python2 and python3
    - add --without python-support to appease lintian
  * debian/onboard.lintian-override:
    - override missing manual message
    - override extra-license-file message
  * Move gsettings path to /org/onboard (LP: #982699); thanks R. Ancell
  * Various visual improvements:
    - push down effect on keys
    - keys now have shadows
    - smaller touch handles
    - tweak images used by click buttons and other keys
    - smoother transparency transitions
  * Detect window manager to care for its specificities
  * Add command line option to override automatic environment detection
  * Mark command line help as translatable
  * Add middle click in hover click mode; requires mousetweaks >= 3.3.90
  * Various auto-show fixes
  * Stop endless loop of auto-show on top of unity dash
  * Fix some show/hide problems
  * Stop wiggling of launcher icons on show/hide of keyboard window
  * Various python3 adaptions, trying to keep python2 compatibility
  * Move to python3 needs virtkey version >= 0.61.0
  * Switch all translated strings to unicode (LP: #933030)
  * Make python3 the default
  * Don't show disabled buttons when XEmbedding (LP: #1019593)
  * Don't create the icon palette when XEmbedding
  * Add new color scheme to follow the HighContrastInverse theme update
  * Stayon top of full-screen windows in force-to-top mode (LP: #1035578)
  * Fix keyboard and icon palette not always above dash
  * Add lockdown key to disable all dwell-activation
  * Adapt to WM_NAMEs of Unity version 6
  * Write message listing dependencies when sdist fails
  * Add tests to check translations for errors, uses python-nose
  * Make Onboard more robust against translation errors
  * Make icon palette dwellable
  * Add dconf version detection, thanks Robert Ancell
  * Fix Super key (LP: #900191)
  * Make menu key pop up context menu
  * Separate layout loading from the keyboard widget
  * Improve exception handling for theme and color files
  * Limit keyboard size when it doesn't fit on screen (LP: #991318)
  * Trap various X BadWindow errors (LP: #1016980)
  * Work around regression of configure event in quantal
  * Remove wnck dependency as gtk3's window-state-event reports iconification
  * Prevent zombie process when launching preferences (LP: #936332)
  * Only appear in gnome...

Read more...

Changed in onboard (Ubuntu):
status: New → Fix Released
Changed in onboard:
status: Fix Committed → Fix Released
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.