Skip to content

v1.1.0-dev.93: You can pick a resolution again

Pre-release
Pre-release

Choose a tag to compare

@defessler defessler released this 31 Aug 20:48

v1.1.0-dev.93: You can pick a resolution again

Pre-release off the dev branch. Builds on v1.1.0-dev.92.

One fix. Reported as "it's not possible to select a resolution in the
display settings, it just closes when hitting any input".

The Resolution dropdown closed itself the moment it opened

In a profile's Display settings, the Resolution control is a dropdown
with a search box. Pressing it could flash the list open and shut again
in the same instant, and nothing you hit changed that. The same dropdown
also closed on the first wheel tick if you tried to scroll its list.

The dropdown is pinned in place on screen, so it closes itself when the
page scrolls underneath it. That close was wired to every scroll event,
including the list scrolling inside the dropdown. Two things fell out of
that:

  • Opening the dropdown scrolls its list to bring your saved resolution
    into view. That scroll event lands a beat after the dropdown opens, so
    the dropdown read its own opening as the page moving and closed.
  • Scrolling the list with the wheel fired the same event, so a list too
    long to fit could never be scrolled.

It only bit on desks where the mode list is long enough to scroll. A
display driver offering a dozen modes never scrolled, so the dropdown
worked. A virtual display offers hundreds of modes and a saved
resolution sits well down that list, so it fired every time.

The dropdown now closes only on scrolling that starts outside it.
Scrolling the page still closes it, which is the reason that close
exists. The same dropdown also lives in Settings under "Zoom to
resolution rules", and gets the same fix there.

Install

Auto-updates from dev.53 and later. Otherwise unzip and run.