Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ General
➜ Dual screen + mouse scroll = issue
Dual screen + mouse scroll = issue
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Sun 07 Sep 2008 02:46 AM (UTC) Amended on Sun 07 Sep 2008 02:47 AM (UTC) by Zeno
|
Message
| If I have a window in the left monitor active, and MUSHclient open on the right monitor, and I start mouse scrolling on the left window, it'll scroll that window normally but also scroll the output in MUSHclient (yet MUSHclient is not active). This shouldn't happen AFAIK.
[EDIT] Doesn't seem to always happen. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #1 on Sun 07 Sep 2008 02:49 AM (UTC) |
Message
| Isn't this a problem with Windows's handling of the mouse input, and not MUSHclient? That is: if MUSHclient isn't even active, how could it be handling the scroll messages? |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #2 on Sun 07 Sep 2008 03:05 AM (UTC) |
Message
| Firefox + Pidgin doesn't have this problem. So far it only seems to be MUSHclient. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #3 on Sun 07 Sep 2008 07:25 AM (UTC) |
Message
| I am inclined to agree with David, that an app which is not active should not receive human-interface events, like keyboard presses, mouse clicks, or mouse-wheel movement.
Whilst I have two monitors here, they are on a Mac running XP under Parallels, which in their wisdom declines to implement dual-monitor support, so it is hard to test.
However a test I did where, under XP and a single monitor, if I have Crimson Editor open, and a MUSHclient window to one side, if I move the mouse so the pointer is over the MUSHclient window, but the Crimson Editor window is active, then scroll the mouse-wheel, the Crimson Editor window scrolls, not the MUSHclient one, which is for me the expected behaviour.
This test indicates to me that the OS is not trying to send mouse wheel movements to the app the mouse happens to be over, whether or not it is active.
Perhaps try to get an updated video driver, or updated mouse driver? It seems to me that somewhere someone is mistranslating the coordinates from the mouse pointer, not taking into account that it is over a different montor. However from MUSHclient's point of view, it is receiving mouse wheel movement over its application area, and is responding.
Tell you what, though. There is a test in the code that if the pointer happens to be over the command window, to scroll that. Otherwise, as a default, it scrolls the upper window. Perhaps that test should be tightened up to test if the mouse is indeed over the upper window. You could try to see if the problem occurs if you put the mouse over where the command window would be, if it was on the other monitor.
However a further test with MUSHclient shows that, if you put the mouse over the gray frame window (that is, outside a world window) and scroll the wheel, the window does not scroll - so that seems to suggest that it is indeed checking that the mouse wheel movements are directed to the correct window.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #4 on Sun 07 Sep 2008 12:07 PM (UTC) |
Message
|
Quote: This test indicates to me that the OS is not trying to send mouse wheel movements to the app the mouse happens to be over, whether or not it is active.
I can confirm that Windows has behaved like this for at least as long as I started using Linux, and it's actually kind of infuriating to me... ;) |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
16,155 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top