Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pallette positioned away from parent button after resize #372

Open
quozl opened this issue Nov 20, 2017 · 0 comments
Open

Pallette positioned away from parent button after resize #372

quozl opened this issue Nov 20, 2017 · 0 comments

Comments

@quozl
Copy link
Contributor

quozl commented Nov 20, 2017

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:

  • start Sugar in a VM with screen dimensions of 1024x768, and start Terminal activity,
  • move the mouse cursor into the stop button and observe the pallette window is correctly positioned under the stop button,
  • move the mouse cursor back into the terminal window,
  • resize the screen to 1280x720, by typing command xrandr --output Virtual-0 --mode 1280x720,
  • move the mouse cursor into the stop button and observe the pallette window is incorrectly positioned to top left of screen,

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__.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant