[QScintilla] Bug report: Caret position is incorrect if window dragged across monitors

Scott Bloom scott at towel42.com
Wed May 23 21:45:20 BST 2018


I have a PC with multiple monitors..

However, looking at the issue, there is no minimal testcase.  There is also nothing saying it’s a bug in Scintilla, QScintilla or tortoisehg.  It could be any of the three.

Why is the assumption being made that its QScintilla?

Scott

From: QScintilla <qscintilla-bounces at riverbankcomputing.com> On Behalf Of cowwoc
Sent: Wednesday, May 23, 2018 13:42
To: Phil Thompson <phil at riverbankcomputing.com>
Cc: qscintilla at riverbankcomputing.com
Subject: Re: [QScintilla] Bug report: Caret position is incorrect if window dragged across monitors

On 2018-05-23 11:09 AM, Phil Thompson wrote:

On 23 May 2018, at 3:01 pm, cowwoc <cowwoc at bbs.darktech.org><mailto:cowwoc at bbs.darktech.org> wrote:



On 2018-05-23 8:46 AM, Phil Thompson wrote:

On 22 May 2018, at 3:48 am, cowwoc <cowwoc at bbs.darktech.org><mailto:cowwoc at bbs.darktech.org> wrote:

Sorry, I forgot to include the bug report: https://bitbucket.org/tortoisehg/thg/issues/5086/caret-position-is-incorrect-if-window



Thank you,

Gili



On 2018-05-21 9:13 PM, cowwoc wrote:

Hi,



Can someone please take a look at this bug report which seems to affect your project?

Sorry, I don't have the equipment needed to reproduce the problem.



Phil



Hi Phil,



Which equipment are you missing? A video card with 2 ports? 2 monitors? Or a copy of Windows?



...and a PC.



Phil

Fortunately for you, that's not a problem :) Assuming you have a Mac laptop:

  1.  Plug in a second monitor (any will do) so your laptop sees multiple monitors.
  2.  Fire up a virtual machine of your choosing. I used VMWare Workstation, which is equivalent to VMWare Fusion on Mac. I believe VirtualBox (which is free) will work just as well.
  3.  Download and install the Windows 10 ISO which you can download for free from https://www.microsoft.com/en-ca/software-download/windows10
  4.  You can run Windows 10 without a license for a short period of time (30 days I believe) so this isn't a problem.
  5.  Configure the VM with 2 virtual monitors and you should be able to reproduce the problem.
  6.  I just tried it in VMWare Workstation and it worked for me.

I haven't been able to get this working (yet) using a single physical monitor. See https://superuser.com/questions/1325393/how-to-use-multiple-virtual-monitors-if-host-has-a-single-monitor

But it's possible that VirtualBox is better in this regard than VMWare Workstation.

Gili
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20180523/768cbcbf/attachment-0001.html>


More information about the QScintilla mailing list