Bug 202709 - [editor] mouse wheel does not scroll task editor when pointer is above description or combo box
Summary: [editor] mouse wheel does not scroll task editor when pointer is above descri...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: 3.3   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
: 154855 270493 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-08 02:10 EDT by Omry Yadan CLA
Modified: 2013-08-05 03:51 EDT (History)
7 users (show)

See Also:


Attachments
fix (6.91 KB, patch)
2009-10-08 01:18 EDT, Steffen Pingel CLA
no flags Details | Diff
mylyn/context/zip (42.43 KB, application/octet-stream)
2009-10-08 01:18 EDT, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Omry Yadan CLA 2007-09-08 02:10:17 EDT
Movingthe mouse wheel when mouse pointer is above the descritpion field inside the rich editor desciption field does not scroll the ticket. the rich editor has it's own scroll, that appear even when there is no text, and this is probably what receives the scroll events.
Comment 1 Robert Elves CLA 2007-09-12 02:05:19 EDT
Steffen, could you verify and perhaps take this on? I'm not seeing this here with Bugzilla since the description isn't editable.
Comment 2 Steffen Pingel CLA 2007-10-07 12:08:55 EDT
That should be reproduceable with the new comment field as well. As pointed out in the description the scroll events are received by the text area which is the intended behavior or does this work differently on Windows?
Comment 3 Robert Elves CLA 2007-10-23 18:48:03 EDT
Steffen, if the new comment field has focus the editor doesn't scroll since the viewer composite is getting the events.  I don't see how we can circumvent this. Thoughts?
Comment 4 Omry Yadan CLA 2008-05-24 11:14:31 EDT
well, one thing that can be done is to prevent the scroll bar in the comment field when there is no text in the comment.
if there is a reason for a scrollbar (IE: there is enough text in the comment text area), it's find that the scroll events goes into the comment text field;
however - when there is nothing to scroll in the comment field, there shouldn't even be a scroll bar.
without it, I am guessing that the text area will not consume the scroll events.
Comment 5 Steffen Pingel CLA 2009-04-02 06:19:50 EDT
*** Bug 270493 has been marked as a duplicate of this bug. ***
Comment 6 Steffen Pingel CLA 2009-04-02 06:29:02 EDT
*** Bug 154855 has been marked as a duplicate of this bug. ***
Comment 7 Kelly Campbell CLA 2009-04-02 08:38:07 EDT
I think bug 270493 was a slightly more serious case of this because it can cause unwanted changes to the issue metadata if you submit other changes. If it's going to be marked duplicate then this bug's severity should be updated.
Comment 8 Steffen Pingel CLA 2009-10-08 01:18:48 EDT
Created attachment 149090 [details]
fix
Comment 9 Steffen Pingel CLA 2009-10-08 01:18:54 EDT
Created attachment 149091 [details]
mylyn/context/zip
Comment 10 Steffen Pingel CLA 2009-10-08 01:22:52 EDT
I have add mouse wheel listeners to the combo boxes and multi line text fields which enables scrolling the editor page everywhere. Note that when hovering over a text fields it scroll to the bottom or top first before the form is scrolled.
Comment 11 Kelly Campbell CLA 2009-10-08 11:03:29 EDT
This fix doesn't address my issue in bug 270493. The issue there is you can inadvertently edit fields of the bug you didn't intend to while scrolling. Ideally you would have to activate the combo box first, e.g. via clicking, before you can change the value via scrolling.
Comment 12 Shawn Minto CLA 2009-10-08 11:19:56 EDT
I just tested this and the scroll wheel does not scroll the combo boxes anymore for me, so this seems to fix the problems that I was seeing.  Great work on the editor scrolling stuff!
Comment 13 Mik Kersten CLA 2009-10-08 13:35:43 EDT
Excellent!  Please make sure this shows up in a N&N item on "Task Editor Usability Tweaks".
Comment 14 Björn Michael CLA 2011-10-06 09:18:36 EDT
Scrolling bug is still there. Can only use wheel scrolling in BugzillaTaskEditorPage when pointer is above a editable textarea e.g. New comment box or in textarea of Private box.
Mylyn version: 3.6.2.v20110826-0100
Platform: Windows XP x86
Comment 15 Björn Michael CLA 2011-10-11 03:40:28 EDT
It seems that it is the weird microsoft mouse wheel scrolling problem. Scrolling is broken in several other editors.
If the pointer hovers over the scroll bar than page scrolling works fine. Please ignore my previous comment.
Comment 16 Adrian Wilkins CLA 2012-11-12 06:10:52 EST
Scrolling with the mouse wheel is fraught with danger because it edits combo boxes - is this a regression or is it because I am using the Linux / GTK build of Eclipse? (I know that different widget toolkits have different behaviours).
Comment 17 Steffen Pingel CLA 2012-11-24 07:48:44 EST
(In reply to comment #16)
> Scrolling with the mouse wheel is fraught with danger because it edits combo
> boxes - is this a regression or is it because I am using the Linux / GTK build
> of Eclipse? (I know that different widget toolkits have different behaviours).

That is indeed the Gtk platform behavior. On Windows scroll events are forwarded to the focus control only for instance so the behavior is different.
Comment 18 deepak patwal CLA 2013-08-05 03:49:43 EDT
Hi,

I am new to this.

May i Know how to disable the scrolling in combo.

I want select the values in combo by clicking it and now by scrolling it when it get the focus.

Please do reply.

Regards,
Deepak Patwal.
email : deepatwal@gmail.com
Comment 19 deepak patwal CLA 2013-08-05 03:51:04 EDT
Hi,

I am new to this.

May i Know how to disable the scrolling in combo.

I want select the values in combo by clicking it and now by scrolling it when it get the focus.

Please do reply.

Regards,
Deepak Patwal.
email : deepatwal@gmail.com