sugarlabs / sugar-toolkit-gtk3

Sugar Learning Environment, Activity Toolkit, GTK 3.
GNU Lesser General Public License v2.1
21 stars 80 forks source link

Pallette positioned away from parent button after resize #372

Open quozl opened 6 years ago

quozl commented 6 years ago

When the screen dimensions are increased, any pallette windows that are outside the original screen dimensions are instead shown on the top left of the screen.

Reproducer:

screenshot_uaa-from-iso_2017-11-20_13 31 14

Also occurs with tool icons in Home View, the activity ring.

Observed on Ubuntu 17.10 with Sugar 0.112 and some earlier versions.

There are no unusual messages in shell.log or org.laptop.Terminal-1.log.

Cause may be Invoker in pallettewindow.py where screen width is cached by __init__.