[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2011-06-27 Thread Norman Rasmussen
*** This bug is a duplicate of bug 389519 ***
https://bugs.launchpad.net/bugs/389519

fwiw, the other project is called xcursorclamp:
 - http://sourceforge.net/projects/xcursorclamp/
 - http://purl.org/net/xcursorclamp
 - http://www.assembla.com/wiki/show/slipstream/xcursorclamp

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in Ubuntu.
https://bugs.launchpad.net/bugs/373367

Title:
  Pointer goes offscreen on non-rectangular dual-head

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

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2011-04-02 Thread Robert Broussabo
*** This bug is a duplicate of bug 389519 ***
https://bugs.launchpad.net/bugs/389519

I agree that it would be difficult to fix the mouse grab issue within X.
I find that the only issue is when I click the mouse, so I don't click
the mouse.  I find the edge first, without the mouse clicked, then I
click the mouse and move away from the edge.  It would be nice to handle
the action directly, but again, I don't think X provides any
notification to the window when it is entered while the mouse is
attached to another window (the clicked in window).

Anyhow, I tweaked the code further.  However, I left in 'modes' for
those that want that behavior, but I changed the default (no mode
specified) to block on all edges.  I also fixed the need to specify a
void that doesn't exactly match the offscreen size.  It is still
possible to sneak the mouse past the edge, but it is much less likely
now, and the simply solution is to just drag the mouse horizontal or
vertically (depending on the void orientation) and the mouse will come
back (not actually stuck, just lost...).  Making the void bigger in the
negative space may help too (I didn't try it because I found it very
difficult to lose the mouse anymore).  I added a makefile, just type
'make' to build (or 'make debug' if you want more verbose output from
the executable...).

I think there is already a mouse capture project under SourceForge, and
that may provide a more robust solution, but I stuck with
XCreateMouseVoid because it is so small...and I'm providing my tweaks
because it appears to work better on my machine now...


** Attachment added: XCreateMouseVoid.tar.gz
   
https://bugs.launchpad.net/ubuntu/+source/libxrandr/+bug/373367/+attachment/1968593/+files/XCreateMouseVoid.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in Ubuntu.
https://bugs.launchpad.net/bugs/373367

Title:
  Pointer goes offscreen on non-rectangular dual-head

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-12-05 Thread marican
*** This bug is a duplicate of bug 389519 ***
https://bugs.launchpad.net/bugs/389519

Just wanted to confirm this bug is still in place as of 10.10.  I've
tried it with both open and proprietary ATI drivers and get the same
behavior.  I believe it's related to the way X handles displaying
multiple monitors.  Maybe the Wayland transition will finally kill this
bug.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.
https://bugs.launchpad.net/bugs/373367

Title:
  Pointer goes offscreen on non-rectangular dual-head

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-11-11 Thread Andreas Frische
** Also affects: xorg-server via
   http://bugs.freedesktop.org/show_bug.cgi?id=20334
   Importance: Unknown
   Status: Unknown

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-11-11 Thread Andreas Frische
*** This bug is a duplicate of bug 389519 ***
https://bugs.launchpad.net/bugs/389519

** This bug has been marked a duplicate of bug 389519
   Cursor can move off-screen when dual-monitors do not form rectangular area
 * You can subscribe to bug 389519 by following this link: 
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/389519/+subscribe

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-11-09 Thread Alexey A. Kiritchun
@Jeffery To:

I don't know enough about X programming to fix the menu issue (and my
limited knowledge suggests that it's not possible for an application
like XCreateMouseVoid - it really does not receive events when other
window does active mouse grab; one would have to use XTest, I imagine
(and I remember seeing an app doing exactly this to fix the same issue
that's being discussed here (but it was KDE-dependent, so I was too lazy
to try it))).

As for the 'mouse stuck at the edge' problem: try creating a largish
void with the top-left corner far away in the negative coordinates; for
best results - with the _center_ in the negative coordinates; i.e. if
your invisible zone is from 0,0 to 1024,400 - do smth like

XCreateMouseVoid -1100 -500 2124 900

That should make it impossible for the mouse to enter the zone where
it's being pushed away from the screen (usuccessfully); just '-1 -1'
isn't enough as the first event seen by XCreateMouseVoid may be well
inside the window due to mouse acceleration and/or system load.

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-11-09 Thread Jeffery To
@Alexey A. Kiritchun: Your suggestion worked, thanks!

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-11-08 Thread Jeffery To
@Alexey A. Kiritchun: If I position the blank window at x=0, y=0 (my
void is in the top-left corner of the virtual desktop), I can still move
my mouse cursor between the window and the screen edge (into the void).
If I position the window at x=-1, y=-1, the mouse cursor gets stuck at
the edge and I need to kill the program to release the cursor. Can this
be fixed?

Also, if I click open a menu (the main menu, any application or context
menu), my cursor can then enter the void. (Perhaps the window stops
getting events if a menu is open?) Is it possible to prevent the cursor
from entering the void in this case?

Thanks (to you and nZain) for this workaround!

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-10-29 Thread Alexey A. Kiritchun
Slightly reworked nZain's XCreateMouseVoid.c: no more 'modes', just
'edge resistance' all around; also fixes the slightly annoying mouse
jumping.

For best results create a window slightly larger than 'void', like this:

+++
|screen1  |screen2  |
|  |  |
|  ++-+
++XCreateMouseVoid   |
   |
|
   +---+

This should disallow mouse 'sliding under' the void. You can specify
negative coordinates to do this for top- and/or left-positioned voids.

** Attachment added: improved program to prevent the mouse from entering the 
void.
   
https://bugs.launchpad.net/ubuntu/+source/libxrandr/+bug/373367/+attachment/1716224/+files/XCreateMouseVoid.c

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-09-29 Thread nZain
Either way its not related to the bug - this is about the mouse diving
offscreen. Furthermore, personally I have compiz deactivated, because on
my laptop I want to save a bit of energy and the onboard graphics is 2D
only. This bug should be adressed at a deeper level.

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-09-28 Thread Helge
Compiz has a plugin that can prevent windows from getting offscreen. It does 
not restrict the cursor though, and I don't know about desktop icon placement.
Activate the Put window plugin, go to Misc. Options and enable Avoid 
Offscreen.

It would be nice if this functionality could be implemented for the cursor (and 
icons) too.
Other than that, Bug #58977 also needs to be fixed to get dual-head working 
properly.

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-09-28 Thread Sebas
@Helge #27: That's not entirely accurate. The Avoid Offscreen option
prevents the Put Window plugin for using the offscreen area. It only
works when you use the Put command to move the window. However it
doesn't restrict or fix the position when you actually move it around
(either by dragging the title bar or alt-click the window).

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-06-20 Thread Bryce Harrington
** Changed in: libxrandr (Ubuntu)
   Status: New = Confirmed

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-05-06 Thread Necrathex
What this background app do to prevent icons, menu's, windows and
notifications to appear inside the invisible space that is now
unreachable by the mouse?

This bug is not only about the pointer, although it is the most obvious
problem, the real problem is that X assumes the desktop area is always
rectangular, which isn't always the case in multi-head setups.

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-05-06 Thread The Fiddler
Nothing, really, this is the WM's job. The background app could provide
a potential workaround for part of this issue, until a proper solution
can be implemented.

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-05-06 Thread Paul
I think that hacks/crutches like separate app is very ugly and non-
optimal solution.

Moreover, very good solution already implemented in X for case with
separate displays! Maybe this code should be adapted to virtual desktops
case?

Also maybe these ideas should be reported to mainstream tracker, eh?

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-05-05 Thread Nick Lawson
I have written a qt tray-icon based background app that basically keeps
the mouse in the screen by polling for when its gone out of the screen,
but this is a very suboptimal solution since it has to poll many times a
second and eat cpu.  It sometimes reaches 1% cpu even!  And X is still
getting the events, so it kind of bounces at the edges, not a great
solution (but better than nothing).

A proper solution would be to somehow get the driver or the X system
involved, because we'd want to intercept these pointer events before
they reach X or at least before it sends them on to client applications.
If someone has information on where to start looking if I wanted to mess
around with this at a higher level (X or driver or something) please let
me know - I have the means, but I'm kind of lost in the architecture
here.  There are so many interacting subsystems...

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-05-05 Thread The Fiddler
Now, that's an interesting idea. It might be possible to intercept
pointer messages posted to the root window and detect when the pointer
leaves the visible area. Or, if interception is not possible, we can
create an invisible fullscreen window to receive pointer messages and
constraint mouse movement.

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-05-02 Thread The Fiddler
I can reproduce this issue with nouveau, nvidia, fglrx and radeon on
Lucid.

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-05-02 Thread sam tygier
@Paul
upstream doesn't need hundreds of 'me toos' any more than launchpad does. 
please only post of either if you have a have something useful to add. though 
feel free to subscribe (or on lauchpad click the 'this bug effects me' at the 
top).

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-04-26 Thread Paul
Related upstream topic:
https://bugs.freedesktop.org/show_bug.cgi?id=20334

** Bug watch added: freedesktop.org Bugzilla #20334
   http://bugs.freedesktop.org/show_bug.cgi?id=20334

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-04-26 Thread Paul
** Changed in: libxrandr (Ubuntu)
   Status: Triaged = New

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-03-22 Thread Bryce Harrington
While this is a legitimate issue, it's not one that can be fixed in the
Lucid timeframe, so I am declining the Lucid nomination on this bug.
Really, effort should focus on getting this bug some attention upstream,
as that is where the work really needs to be done.

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-03-08 Thread ehjay
I think this problem is more generic.  I have an ATI x1400 using the
radeon driver on Ubuntu Karmic and I see the same problem.Right
screen is laptop 1920x1200.  Left screen is 1280x1024 LCD.  I have the
pointer issue, but also the window manager places desktop icons off
screen.  If I place the screens so that they join at the top corner I
can't see icons (and desktop applets) that are at the bottom.  Vice
versa if I join the screens at the bottom corner.  The WM thinks I have
a 1280x1200 desktop with a 1280x1024 fixed view.  Further, if I unplug
the external display, the WM continues to operate as if the display was
attached and new applications are frequently launched on that display
and I have no access to them.  I see my comment here is the same as
Necrathex.   I believe the original report here is a symptom of a larger
problem.  Fix that larger issue and alot of these symptoms will go away.
Hopefully this problem can be addressed for the next version of Ubuntu.
I have yet to see any of the bugs I have filed in the last few years to
be addressed.

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-02-26 Thread nZain
You can avoid this problem by placing the left monitor at the top.
Furthermore, you only need one void then. Is there any reason, why you
require the left monitor vertically centered? However, the problem will
remain for the bottom left void of the screen (e.g. when you download
multiple files such that the bottom of the virtual screen is reached).
Probably you should look for a bug like that (and workarounds/solutions)
or fill one on your own as this is a different issue.

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-02-26 Thread SquareWheel
I used to have my left monitor at the top, but then when I move my mouse
or a program across them it will jump 200 pixels vertically, and it
doesn't look very nice.  I guess one solution is to physically move my
left monitor higher by placing something under it, although that doesn't
seem like a very elegant solution.  I could also swap my monitors,
although I've been using them like this for years.

I'm sure I'll figure something out.  Thank you.

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-02-24 Thread SquareWheel
Thanks nZain for the program.  After hours of searching I found your
program and couldn't believe how well it worked.  I'm very new to
Ubuntu, and I can't believe I got it set up correctly the very first
try.  I had to set up a few different void zones to get it to how one
would expect, but it still worked beautifully.  Thank you.

There is one issue I had though, and I was wondering if you would offer
any suggestions?

My mouse won't go outside the monitor anymore, which is fantastic, but
because I have a void in the top left, my files that are moved to my
desktop are now hidden from me.

Let's hope my amazing ASCII art works:

+--++
|  VOID|   |
+-+  |
|   1290x900|1920x1200 |
|  LEFT|   RIGHT |
| +   |
|  VOID   |   |
++-+

Files are downloaded to the desktop, and are hidden in the top left
where I can't see them.  Do you have any ideas?

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-02-24 Thread SquareWheel
Well, damn..

Okay, here is how my monitors are laid out.  I can't access icons that land in 
the top left void.
See attachment or this: http://imgur.com/L0UUz.png

Thanks.

** Attachment added: Screenshot2.png
   http://launchpadlibrarian.net/39736081/Screenshot2.png

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2010-02-13 Thread fred.thomas
Thanks nZain for the cool idea and workaround! I hope the devs fix this
annoyance in 10.04.

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2009-11-30 Thread nZain
Since this bug (!) is set to whichlist priority, I decided to write my
own code. I wasn't able to find the source of the problem, so I spent
one weekend to learn C++ with Xlib and wrote a little app that creates a
undecorated black window that prevents the mouse from entering it. If
initialized such that the window covers the void, the mouse effectively
cannot go there.

Take a look at the readme.txt for a detailed description + example or
read the source code directly.

** Attachment added: tiny program to prevent the mouse from entering the void.
   http://launchpadlibrarian.net/36255064/XCreateMouseVoid.tar.gz

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2009-11-11 Thread nZain
In reply to #3, with karmic the issue stil remains unchanged / unsolved
-- since the virtual screen is rectangular, but the physical is not.
Does anyone know a workaround (like blocking mouse pointer from entering
specific coordinates)? I don't know how mouse cursors are handled in
ubuntu, so I don't even know where to start looking. I'd be willing to
write my own code, too.

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2009-11-11 Thread l0b0
Why is this set as Wishlist? If the mouse pointer could be moved
outside the display area on a single monitor, that's a clear bug. I
don't see how this is different, except that it's more technically
challenging.

A suggestion for the fix: Make sure the physical displacement of the
mouse pointer when moving from one screen to the other is minimal, based
on the layout and resolutions specified in the GNOME display
preferences.

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2009-11-11 Thread Necrathex
Same problem with my ATI card on Karmic, especially annoying since my
desktop has the smaller screen (of 2) on the left side, and any icons
that are automatically placed on the desktop will be placed in the
'virtual desktop void' on top of the screen, where I can't see them.

So it's not just the mouse cursor being able to go there, but also
desktop icons (I think the same also goes for menus and such). Would be
nice for xorg/ubuntu's multi-head support if this got fixed :)

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxrandr in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2009-05-17 Thread Bryce Harrington
** Description changed:

  Binary package hint: xserver-xorg-video-intel
  
  On a non-rectangular multi-monitor layout (e.g. when using monitors with
  different resolutions) the mouse pointer can be positioned outside the
  areas displayed by the monitors.
  
  For example, with a configuration like
  Screen 0: minimum 320 x 200, current 3200 x 1200, maximum 3200 x 1200
  VGA connected 1920x1200+1280+0 (normal left inverted right x axis y axis) 
518mm x 324mm
  LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 304mm 
x 190mm
  
  The mouse pointer and some graphics part like dropdown menus can go in
  the non-visible area below LVDS.
  
  It is the same symptom as bug #119417. However this bug is for the Intel
  chipset. I am opening a separate bug as indicated by
  https://bugs.edge.launchpad.net/ubuntu/+source/nvidia-graphics-
  drivers-180/+bug/119417/comments/11
  
  Thanks
  
  ProblemType: Bug
  Architecture: amd64
  DistroRelease: Ubuntu 9.04
  Package: xserver-xorg-video-intel 2:2.6.3-0ubuntu9
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersion: Linux version 2.6.28-11-generic (bui...@crested) (gcc version 
4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009
  SourcePackage: xserver-xorg-video-intel
  Uname: Linux 2.6.28-11-generic x86_64
+ 
+ [lspci]
+ 00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory 
Controller Hub [8086:2a00] (rev 0c)
+   Subsystem: Hewlett-Packard Company Device [103c:30cd]
+ 00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 
GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 0c)
+   Subsystem: Hewlett-Packard Company Device [103c:30cd]

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2009-05-17 Thread Bryce Harrington
** Changed in: xserver-xorg-video-intel (Ubuntu)
   Status: New = Confirmed

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2009-05-15 Thread nZain
I can confirm this problem on my Laptop+ext.VGA combination (Intel
onboard graphic).

Due to another problem with the notify-osd (positioned in the non-
visible area of the virtual screen, see
https://bugs.launchpad.net/bugs/367947), I'm currently forced to align
the top of primary with the top of the secondary screen - resulting in a
non-visible area at the bottom of the second screen. Hitting the window-
list on the bottom gnome-panel is quite tricky with the mouse leaving
the screen. Thus, I'd be really happy if the non-visible area is not
accessible for the mouse. By converting affected mouse coordinates
(vertical ones in my case) to the corresponding screen height (width for
horizontal screen setups), this problem should be resolved.

On screen change (from sc0 to sc1):
mouse.curPos= (mouse.prevPos - sc0.visMin) / (sc0.visMax - sc0.visMin) * 
(sc1.visMax - sc1.visMin) + sc1.visMin
where visMin and visMax is the visible area of the screen.

best
Patrick

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp