| Summary: | MarqueeOnDrag: Pressing without moving the mouse causes scrollbars to appear | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Camille Letavernier <cletavernier> | ||||||
| Component: | GEF MVC | Assignee: | gef-inbox <gef-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | minor | ||||||||
| Priority: | P3 | CC: | matthias.wienand, miklossy | ||||||
| Version: | 5.0.0 | ||||||||
| Target Milestone: | 5.1.0 (2019-06) | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| See Also: | https://github.com/eclipse/gef/pull/64 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Camille Letavernier
Thanks for your bug report. Would it be possible to upload a screenshot/screencast that represents the problem? Sure; I'll add an example (soon :) ). I've seen it happen in two different projects but I've not tested on GEF example applications yet, so I don't know what the minimal requirements are. I'll post a screencast today or tomorrow Created attachment 278387 [details]
Video presenting the issue
Notice how scrollbars appear on each Mouse-Press event (When starting a Marquee-Selection, or even just when clicking around)
Created attachment 278388 [details]
Video after the fix from PR 64
This video shows that scrollbars no longer appear when the patch is included (The feedback rectangle appears below the mouse rather than at 0; 0)
Also note that the scrollbars only appear when the viewport is at its default location, because it needs to display the feedback rectangle at 0; 0 (With an outer border that probably goes around -1; -1). So if the viewport is already slightly scrolled to the top-left, the scrollbars wouldn't appear, with or without the patch. Thank you very much for the videos! Now it is much easier for us to understand the problem and the fix you provided. Thank you so much for the contribution! I just merged the PR onto master. Therefore, I resolve this ticket as fixed for 5.1.0 M3. |