Public bug reported:

In April 2024 there was a fix provided on:

  https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1471

for a rounding problem, which caused buttons and menus which extended to
the top of a window would not be selectable when clicking on the first
row of pixels.

Practically, this fix means, when moving with the mousepointer to the
upper edge of the screen and clicking on a widget or menu, it will
respond accordingly.

The fix consisted of replacing all four instances of trunc() with
floor() in the file ../mi/mipointer.c

It was merged in their server-21.1-branch. Will this merge be also part
of the following package/version?

Package: xserver-xorg-core
Version: 2:21.1.12-1ubuntu1.3

At the moment, I need to patch/build/install manually, but it would be
more efficient if this step would not be required.

** Affects: xorg-server (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/2103703

Title:
  rounding issues around zero in miPointerSetPosition

Status in xorg-server package in Ubuntu:
  New

Bug description:
  In April 2024 there was a fix provided on:

    https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1471

  for a rounding problem, which caused buttons and menus which extended
  to the top of a window would not be selectable when clicking on the
  first row of pixels.

  Practically, this fix means, when moving with the mousepointer to the
  upper edge of the screen and clicking on a widget or menu, it will
  respond accordingly.

  The fix consisted of replacing all four instances of trunc() with
  floor() in the file ../mi/mipointer.c

  It was merged in their server-21.1-branch. Will this merge be also
  part of the following package/version?

  Package: xserver-xorg-core
  Version: 2:21.1.12-1ubuntu1.3

  At the moment, I need to patch/build/install manually, but it would be
  more efficient if this step would not be required.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/2103703/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to