Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#687 Problem with touch-screen PCs

None
open
nobody
None
1
2014-04-13
2014-03-23
Anonymous
No

There's a pretty big issue I've found when with using touch-screen PCs (tested on the new Surface Pro 2 running Windows 8.1).

A little background: In almost all applications (office, internet browser, PDF viewer, etc.) you can use your finger to scroll by dragging or sliding your finger across the page. This makes navigating a document easier than having to touch the tiny scroll bar on the right-hand side. If instead you want to work on editing the document, just "click" by tapping in one place and you're ready to type. Or alternatively use the pen. But using your finger to slide up and down the page normally scrolls up and down like usual.

This has support in every program I've used for Windows except Texstudio. In Texstudio however, it is strangely interpreting my finger as a pen and selecting text when I drag my finger across my document instead of scrolling. I imagine there should be a simple fix for this, as virtually every other program I've run on the desktop (especially document readers, word processors like Microsoft Word, etc.) has support for this.

Thank you!

Discussion

1 2 > >> (Page 1 of 2)
  • Tim Hoffmann
    Tim Hoffmann
    2014-03-23

    Afaik none of the developers has a windows touch device. Therefore we cannot develop and test touch functionality.

    If you have a bit of programming background, you are welcome to join hand help with that feature.

     
    • perhaps we just have to enable the /Qt/::/WA_AcceptTouchEvents/ flag

       
      Attachments
  • Tim Hoffmann
    Tim Hoffmann
    2014-03-25

    I've now set the flag for the Editor and the PDF viewer (hg 4341 (50f3c5bdec8b)) but I cannot test it. -> Need to wait for the release of the next development snapshot and someone willing to test.

     
  • Ethan Davis
    Ethan Davis
    2014-03-25

    Thanks for your reply! Unfortunately I have no programming background (aside from LaTeX!) however if there's something I could help you out with on my Surface Pro 2, (e.g. with testing or if there's something more difficult you can walk me through), please let me know and I would be honored to help you out with improving your software! Thank you!

     
  • Tim Hoffmann
    Tim Hoffmann
    2014-03-25

    I've uploaded a current development snapshot containing the change: link

    You are welcome to try it.

     
  • Ethan Davis
    Ethan Davis
    2014-03-25

    Hi, thanks again for your reply! I downloaded and installed the 2.7.1 version you linked to. Doesn't appear to have fixed it -- but to try to clarify what's happening with a touch device I recorded a video with my cell phone (I apologize for the poor quality, very low-res video) so you could see how I interact with it. I attached the video to this message so hopefully you can view it and see what's happening.

    Thanks,
    Ethan

     
  • Tim Hoffmann
    Tim Hoffmann
    2014-03-26

    Sorry, it was a quick try, but without any hardware for testing it's not possible to go any further.

     
  • The interesting thing in the video is that it works in the PDF viewer

    Both use QAbstractScrollArea, the only difference seems to be that the viewport of the viewer has a child (of the size of the pdf?), while the editor kind of ignores the viewport, just sets the scrollbar size and draws over the viewport

     
  • Ethan Davis
    Ethan Davis
    2014-03-29

    Yes! This may be some helpful info: I should note it works in TexStudio's PDF viewer when the "hand" icon is selected.

    Sorry for the video quality -- please let me know if you would like like me to re-record or if there's any other way I can help.

    Thanks!

     
  • I should note it works in TexStudio's PDF viewer when the "hand" icon is selected.

    Does it also work in the pdf viewer, when "continuous" scrolling is disabled

    But I am definitely willing to try to help with testing and in any other way I can if you walk me through what I need to do.

    You can try to compile (https://sourceforge.net/apps/mediawiki/texstudio/index.php?title=CompileTXS#Windows) it from this branch: https://sourceforge.net/p/texstudio/hg/ci/touchscrolling/tree/

    (there I changed the editor to be more like the pdf viewer)

     
1 2 > >> (Page 1 of 2)