ICEpdf
  1. ICEpdf
  2. PDF-1146

Auto scroll on text selection

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.3
    • Fix Version/s: 6.3
    • Component/s: Viewer RI
    • Labels:
      None
    • Environment:
      Viewer RI

      Description

      A customer has asked about implementing a scroll on text select. Currently if you select a page of text and whish to go to the next page you need to use the mouse scroll wheel. What the client would like if you get to the bottom of the view the page would automatically start scrolling.

      I think we would need to define a hot zone in the main jscrollpane (top and bottom) that if the mouse was down and the text selection tool enabled we would start to scroll at speed similar to he scroll window.

        Activity

        Patrick Corless created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Support Case References Support Case #14057 - https://icesoft.my.salesforce.com/5007000001iLXD5
        Patrick Corless made changes -
        Fix Version/s 6.4 [ 12974 ]
        Patrick Corless made changes -
        Fix Version/s 6.3 [ 13093 ]
        Fix Version/s 6.4 [ 12974 ]
        Hide
        Patrick Corless added a comment -

        I've added basic auto scroll functionality to the AbstractDocumentView. When text selection is enable the main scroll pane will now scroll in the direction the mouse leaves the viewport. This give a fairly fluid text selection, especially in environments were wheel mouse events are unsupported.

        Show
        Patrick Corless added a comment - I've added basic auto scroll functionality to the AbstractDocumentView. When text selection is enable the main scroll pane will now scroll in the direction the mouse leaves the viewport. This give a fairly fluid text selection, especially in environments were wheel mouse events are unsupported.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #51790 Thu Jul 27 13:23:27 MDT 2017 patrick.corless PDF-1146 addition of basic auto scroll for text selection when the mouse
        leaves the view port. Speed of the scrolling can be changed with the
        system property org.icepdf.core.views.autoScroll.interval=10. A lower
        value will speed up the scrolling and higher will slow down scrolling.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.2.0/icepdf/viewer/src/org/icepdf/ri/common/views/AbstractDocumentView.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #51807 Mon Jul 31 14:02:18 MDT 2017 patrick.corless PDF-1146 addition of basic auto scroll for text selection when the mouse
        leaves the view port. Speed of the scrolling can be changed with the
        system property org.icepdf.core.views.autoScroll.interval=10. A lower
        value will speed up the scrolling and higher will slow down scrolling.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/viewer-awt/src/main/java/org/icepdf/ri/common/views/AbstractDocumentView.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52091 Mon Nov 20 13:37:46 MST 2017 patrick.corless PDF-1146 toughed up auto scroll to only kick in if a text selection tool is in use.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/viewer-awt/src/main/java/org/icepdf/ri/common/views/AbstractDocumentView.java
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: