D6184: restore horizontal scrollbar in the project manager plugin

"René J.V. Bertin" noreply at phabricator.kde.org
Sun Jul 9 14:11:09 UTC 2017


rjvbb updated this revision to Diff 16383.
rjvbb added a comment.


  I'm beginning to understand the objections from X11 users. Even with my settings horizontal scrolling behaves as if it's configured to scroll at least half the viewport width at a time. On Mac/Cocoa, horizontal and vertical scrolling are equally smooth, and that's where I did most of my testing (while replying to this ticket).
  
  I now have a working standalone implementation of a wheel event filter that removes the horizontal component, leaving only vertical scrolling under touch event control while still allowing horizontal scrolling via the scrollbar.
  See https://github.com/RJVB/wheelscrollfilter
  
  For some reason this approach doesn't have the same effect in the ProjectTreeView class. I may have overlooked something trivial but either way I'd really appreciate the help of a fresh set of eyes to help pinpoint the cause of that difference.

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D6184?vs=15353&id=16383

REVISION DETAIL
  https://phabricator.kde.org/D6184

AFFECTED FILES
  plugins/projectmanagerview/projectmanagerview.cpp
  plugins/projectmanagerview/projectmanagerview.ui
  plugins/projectmanagerview/projectmodelitemdelegate.cpp
  plugins/projectmanagerview/projecttreeview.cpp
  plugins/projectmanagerview/projecttreeview.h

To: rjvbb, #kdevelop, kfunk
Cc: aaronpuchert, kfunk, apol, kdevelop-devel, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170709/8e08aa42/attachment.html>


More information about the KDevelop-devel mailing list