vi-eclipse / Eclipse-Platform

Umbrella repository for managing a backlog of features/issues related to the Eclipse Platform
2 stars 0 forks source link

Regression in multi zoom setting for push menus in main toolbar #129

Closed akoch-yatta closed 1 month ago

akoch-yatta commented 1 month ago

In a multi zoom setup (mine was left (primary 200%), right (secondary 175%) there is a regression (both with and without update on autoscale) in menus. We need to treat Menus similar to Shells -> they are always positioned with an absolute value. Currently they are set with two different ways:

  1. Old zoomed down location, e.g. in Widget::showMenu -> this still works
  2. New zoomed location, e.g. Push menus like the Run configurations -> this will result in Image

At least two things to do here:

  1. Adapt Widget::showMenu to map the pixels location to the display instead of just zooming it down
  2. Adapt Menu::setLocation to use mapping from display instead of just zooming it up