Bug 10603 - Compiz breaks Fitt's law with a pixel border at the right and left edges of the screen
Summary: Compiz breaks Fitt's law with a pixel border at the right and left edges of t...
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: App/compiz (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: David Reveman
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-10 16:20 UTC by ut
Modified: 2007-08-03 05:03 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description ut 2007-04-10 16:20:37 UTC
What should happen--- If you maximize a Firefox window in Metacity with the default theme in Ubuntu, you can throw your mouse to the right of the screen and easily grab the scrollbar to move it up and down. You can also have a gnome menu oriented left or right, or move your unmaximized Firefox window to the right so that the scrollbar is easily grabbed. This takes advantage of Fitt's Law: http://en.wikipedia.org/wiki/Fitt%27s_law

Problem--- In Compiz (and Beryl--is this something to do with AIGLX?), there's a one pixel offset along the entire right and left edges of the screen, so you cannot easily focus on the scroll bar, or panel menus there. I know that you reserve the corners for scale, but you shouldn't take the whole screen edges, too.

Related--- This is related to this other Beryl bug, but the following only relates to the pixel at the very top right corner of the screen: http://bugs.beryl-project.org/ticket/202
Here is the beryl bug for my issue: http://bugs.beryl-project.org/ticket/1889

Ubuntu Launchpad bug for this Fitt's law issue: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/103306

Versions-- I am using the Compiz in Feisty Fawn's universe repository
Comment 1 David Reveman 2007-04-11 08:26:12 UTC
You probably have edge flipping turned on in rotate plugin (if you drag a window to the edge it will rotate the cube). It works fine if you turn that off.

If you're using the gconf plugin, these command lines can be used to turn it off:
$ gconftool-2 -s -t list --list-type string /apps/compiz/plugins/rotate/allscreens/options/rotate_flip_right_edge "[]"
$ gconftool-2 -s -t list --list-type string /apps/compiz/plugins/rotate/allscreens/options/rotate_flip_left_edge "[]"
Comment 2 ut 2007-04-13 19:26:25 UTC
Thanks David, that worked; now I can enjoy compiz with a lot less frustration :)
Comment 3 Anders Kaseorg 2007-07-04 11:42:54 UTC
This also happens if the wall plugin is (or has ever been) enabled—you get a two-pixel unclickable border region on the screen edges, whether or not any of the “edge flip” options of wall are set.
Comment 4 Danny Baumann 2007-08-03 05:03:14 UTC
(In reply to comment #3)
> This also happens if the wall plugin is (or has ever been) enabled—you get a
> two-pixel unclickable border region on the screen edges, whether or not any of
> the “edge flip” options of wall are set.

The hint of David in comment #1 applies for wall, too. Simply disable the flip_left/right/up/down edge actions of wall.
> 



Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.