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

Scott Bloom scott at towel42.com
Wed May 23 23:08:14 BST 2018


Understood.

You may want to try SciTE.

That is a base editor, tied to the core Scintilla widget, not used QScintilla (which is a Qt wrapper for the core)

In reality, the TortoiseHg devs, need to work on this, to see if its their bug first..

This could be due to the 4k to HD resolution swap…

Scott

From: cowwoc <cowwoc at bbs.darktech.org>
Sent: Wednesday, May 23, 2018 15:06
To: Scott Bloom <scott at towel42.com>; 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

Hi Scott,

I'm not affiliated with TortoiseHg. I'm just an end-user. As such, I have no idea how to create a minimal testcase outside of TortoiseHg. When I filed a bug report at https://bitbucket.org/tortoisehg/thg/issues/5086/caret-position-is-incorrect-if-window I attached a video demonstrating the problem. Hopefully that'll help.

If you guys have a stand-alone application I could run, I can try reproducing the problem with it as well.

Thanks,
Gili

On 2018-05-23 4:45 PM, Scott Bloom wrote:
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><mailto:qscintilla-bounces at riverbankcomputing.com> On Behalf Of cowwoc
Sent: Wednesday, May 23, 2018 13:42
To: Phil Thompson <phil at riverbankcomputing.com><mailto:phil at riverbankcomputing.com>
Cc: qscintilla at riverbankcomputing.com<mailto: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/13cb4775/attachment-0001.html>


More information about the QScintilla mailing list