Wrong display of current rotation

Bug #39196 reported by Daniel Elstner
4
Affects Status Importance Assigned to Milestone
gnome-randr-applet (Ubuntu)
Fix Released
Medium
Daniel Holbach

Bug Description

The radio menu items in the applet's menu do not properly reflect the current xrandr rotation setting. That is, the active radio item is "Inverted" even if the rotation is actually set to normal. Also, the items in the menu are unnaturally reversed, i.e. "Normal" is at the bottom.

Apparently, this bug has already been reported in Debian more than half a year ago:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329057

Revision history for this message
Daniel Elstner (daniel-elstner) wrote : Patch fixing both problems

This patch fixes the broken logic determining the current rotation, and reverses once more the reversed menu items. A couple of warnings on amd64 due to int/pointer conversion are fixed as well.

This patch is similar to but independent of the one attached to the Debian bug, which I unfortunately had not noticed before.

Changed in gnome-randr-applet:
assignee: nobody → dholbach
Revision history for this message
Daniel Holbach (dholbach) wrote :

 gnome-randr-applet (0.2-1.1ubuntu1) dapper; urgency=low
 .
   * grandr.c,
     debian/applied-patches/wrong-display-of-current-rotation.patch:
     - Fix display of the current rotation setting.
     - Avoid reversing the order of the rotation menu items.
     - Use GINT_TO_POINTER() to fix pointer conversion warnings on amd64.
     - fixes Malone: #39196

Changed in gnome-randr-applet:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.