[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Dual screen + mouse scroll = issue

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Dual screen + mouse scroll = issue

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Zeno   USA  (2,868 posts)  [Biography] bio   Moderator
Date Sun 07 Sep 2008 02:46 AM (UTC)  quote  ]

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
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Reply #1 on Sun 07 Sep 2008 02:49 AM (UTC)  quote  ]
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
[Go to top] top

Posted by Zeno   USA  (2,868 posts)  [Biography] bio   Moderator
Date Reply #2 on Sun 07 Sep 2008 03:05 AM (UTC)  quote  ]
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
[Go to top] top

Posted by Nick Gammon   Australia  (18,800 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Sun 07 Sep 2008 07:25 AM (UTC)  quote  ]
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
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Reply #4 on Sun 07 Sep 2008 12:07 PM (UTC)  quote  ]
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
[Go to top] 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.


2,363 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]