window position jumps on high-dpi screen

Bug #1325026 reported by Andreas E.
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

When hovering with the mouse over onboard, it occasionally sets its window position again and thereby jumps upwards.
For example:
You move and scale onboard to cover the lower part of the screen (screen: 3200×1800, onboard position: [0,1000], size: 800x3200). When hovering the window to type a key or when changing the onboard settings, the window jumps to half the coordinates ([0,500]) and it then occludes the middle of the screen.
This happens especially when it is docked to the bottom of the screen and expanded the width, but I've sometimes also experienced it in windowed mode (undocked, with decorations).

org.gnome.desktop.interface.scaling-factor = 2
DistroRelease: Ubuntu 14.04
onboard version: 1.0.1-0ppa~t amd64 (from ppa:onboard/stable)

Revision history for this message
marmuta (marmuta) wrote :

Onboard 1.0.0 did jump a lot after resizing in compiz, but this is supposed to be fixed in 1.0.1. I've been testing trunk with scaling-factor = 2 for a couple of hours and didn't see it jump while hovering. However, it does erroneously move around the screen when focusing certain text entries, in firefox for example.
It looks like only Gtk-3 applications, gedit, gnome-terminal, nautilus, etc., return scaled accessible extents. Everything else's extents are unscaled. I didn't realize this before. It's possible that causes your hover jumps too, because Onboard polls an accessible's position/size for a few seconds after focusing it.

Changed in onboard:
importance: Undecided → Low
Revision history for this message
marmuta (marmuta) wrote :

I've pushed a workaround to trunk and will ask Francesco for a snapshot in our PPA. Try it please and let me know it helps with this bug.

Revision history for this message
marmuta (marmuta) wrote :

Rev. 1811 is ready, you can get it from
https://launchpad.net/~onboard/+archive/snapshots

Revision history for this message
marmuta (marmuta) wrote :

Have you been able to try the snapshot PPA?

Changed in onboard:
status: New → Incomplete
Revision history for this message
Andreas E. (andreas-e) wrote :

Yes, initially I thought it was better (1.0.1+1811), but it still jumps sometimes to the middle of the screen.

Revision history for this message
marmuta (marmuta) wrote :

Is there a particular application where it happens more frequently? Do you remember which application was in focus last time it happened?

Revision history for this message
marmuta (marmuta) wrote :

Quoting from https://bugs.launchpad.net/ubuntu/+source/onboard/+bug/1283491/comments/11:
> I found it out. I am now sure this bug is fixed.
> What I still saw appears to be a feature: When I opened the search dialog
> in geany (which I have usually placed in the > lower half of the screen),
> onboard jumps out of the way so that the input field is not occluded.
> It makes sense, but wasn't obvious to me.
Yes, it is a feature, though I can imagine it might be somewhat confusing at first. That jumping is our attempt to deal with desktop environments not (yet) optimized for screen keyboards. We wouldn't need it if it was guaranteed that text entries could never end up below Onboard.

Changed in onboard:
status: Incomplete → Fix Committed
Changed in onboard:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (8.1 KiB)

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

---------------
onboard (1.1.0-0ubuntu1) vivid; urgency=low

  * Request for sponsorship for new upstream release (LP: #1415041)
  * debian/control:
    - Raise Standards-Version to 3.9.6
    - Add xdg-utils to Recommends
  * debian/copyright:
    - Edit emails to add small protection against email harvesting
    - Update years information
  * debian/onboard.install:
    - Add the usr/share/onboard/settings_auto_show_dialog.ui file
  * debian/patches:
    - Remove patch to add support for MATE (now upstream)
    - Remove patch to fix the auto-start issue (now upstream)
    - Update add_defaults_for_ubuntu.patch with values for this release
  * debian/rules:
    - Remove shebang rewrite from override_dh_python3
    - Add no-guessing-deps to override_dh_python3
  * Word suggestions:
    - Add possibility to learn word sequences, but no new words
    - Add removal of words from current user language model on long press
    - Add removal of a word in current context only
    - Add tool to extract letter frequencies from a given language model
    - Use slash as word separator in the path component of URLs
    - Improve word suggestions after a wrap to a second line in gnome-terminal
    - Better handle interaction with the awesome bar's URL completion of firefox
    - Fix synchronisation between libreoffice writer and text document
    - Fix insertion of word separators consisting of more than one character
    - Delete selected text before inserting suggestions into Gtk-3 widgets
    - Fix memory leak in predict calls
    - Improve robustness of language model loading by handling word counts <= 0
    - Have the checkmodels tool check for valid n-gram frequency fields
    - Fix and improve broken doctest for _get_word_to_spell_check()
    - Remove "th" from the English system language models
    - Increase the number of words in the German system language models
    - Fix traceback when migrating user language model with LANG=C
    - Always use "Other Languages" as name for submenu of languages menu
    - Move second separator in language menu to correct position
  * Auto-show and auto-hide:
    - Add hiding of Onboard keyboard on physical key-press for XInput
    - Add setting for the time to stay hidden after physical key-press
    - Add possibility to turn off repositioning on auto-show (LP #1402212)
    - Centralize auto-show code to make it available for future views
    - Correctly register at-spi listeners on startup
    - Correctly disconnect events on exit
    - Fix auto-show on cursor movement in single-line text entries
  * XEmbedding in unity-greeter and gnome-screensaver:
    - Enable hide button in unity-greeter; needs restart until greeter assists
    - Add a toggle to system defaults to enable the background image
    - Read filename of background in greeter's shema in unity-greeter
    - Ignore xembed-unity-greeter-offset-x on small screens
    - Increase xembed aspect change range (LP: #1297695)
    - Add the color of the background bar to system defaults
    - Fix loading of desktop backgrounds with non-ascii filenames
    - Fix black bars problem
    - Fix background ...

Read more...

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