onboard 1.4.1 doesn't work in Ubuntu Gnome 16.10

Bug #1672706 reported by RussianNeuroMancer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
onboard (Ubuntu)
Fix Committed
Undecided
Unassigned

Bug Description

On Ubuntu Gnome 16.10 x86_64 version 1.3.0+2221-0ppa1~yakkety is working, however after update to 1.4.1 via stable PPA, Onboard doesn't start anymore:

Traceback (most recent call last):
  File "/usr/bin/onboard", line 36, in <module>
    ob = Onboard()
  File "/usr/lib/python3/dist-packages/Onboard/OnboardGtk.py", line 148, in __init__
    self.init()
  File "/usr/lib/python3/dist-packages/Onboard/OnboardGtk.py", line 189, in init
    self._init_delayed()
  File "/usr/lib/python3/dist-packages/Onboard/OnboardGtk.py", line 225, in _init_delayed
    self._window = KbdWindow(self.keyboard_widget, icp)
  File "/usr/lib/python3/dist-packages/Onboard/KbdWindow.py", line 610, in __init__
    self.restore_window_rect(startup = True)
  File "/usr/lib/python3/dist-packages/Onboard/WindowUtils.py", line 795, in restore_window_rect
    rect = self.on_restore_window_rect(rect)
  File "/usr/lib/python3/dist-packages/Onboard/KbdWindow.py", line 1122, in on_restore_window_rect
    r = self.get_current_rect()
  File "/usr/lib/python3/dist-packages/Onboard/KbdWindow.py", line 1111, in get_current_rect
    rect = self.get_hidden_rect()
  File "/usr/lib/python3/dist-packages/Onboard/KbdWindow.py", line 1100, in get_hidden_rect
    return self.get_docking_hideout_rect()
  File "/usr/lib/python3/dist-packages/Onboard/KbdWindow.py", line 1394, in get_docking_hideout_rect
    area, geom = self.get_docking_monitor_rects()
  File "/usr/lib/python3/dist-packages/Onboard/KbdWindow.py", line 1417, in get_docking_monitor_rects
    area = self.update_monitor_workarea(monitor)
  File "/usr/lib/python3/dist-packages/Onboard/KbdWindow.py", line 1464, in update_monitor_workarea
    area = self.get_monitor_workarea(monitor)
  File "/usr/lib/python3/dist-packages/Onboard/KbdWindow.py", line 1470, in get_monitor_workarea
    monitor = display.get_monitor(monitor_index)
AttributeError: 'X11Display' object has no attribute 'get_monitor'

Related branches

Revision history for this message
marmuta (marmuta) wrote :

Thanks, I had fixed that one in trunk already. The current snapshot should be able to start.
https://launchpad.net/%7Eonboard/+archive/snapshots

I believe there are more regressions on older Ubuntu releases, though. Francesco mentioned preferences for example. There'll probably be another minor release for them. Zesty isn't affected, AFAICT.

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