Unfortunately it doesn鈥檛 happen with a QPlainTextEdit or a QTextEdit.
However I did notice something, that might be a clue.
When going from a 100% to a 125% QTextEdit and QPlainTextEdit, "look fine" until you type. Then the text gets updated (expanded), and the cursor moves accordingly. When you move them back, the same, the text stays the same size until you type, then it shrinks and the cursor moves.
With QScintilla, its fine, when you type, the cursor moves, but the text does not expand (or shrink)
Scott
-----Original Message-----
From: Phil Thompson <phil at riverbankcomputing.com>
Sent: Wednesday, May 23, 2018 23:32
To: Scott Bloom <scott at towel42.com>
Cc: cowwoc <cowwoc at bbs.darktech.org>; qscintilla at riverbankcomputing.com
Subject: Re: [QScintilla] Bug report: Caret position is incorrect if window dragged across monitors
Can you try with an example using QTextEdit rather than QScintilla? That should confirm whether or not it is a Qt or a QScintilla problem?
Phil
> On 23 May 2018, at 11:50 pm, Scott Bloom <scott at towel42.com> wrote:
>> Phil
>> I can help work on this, but Ill probably need some help. I do have a windows setup.
>> Scott
>> From: QScintilla <qscintilla-bounces at riverbankcomputing.com> On Behalf Of Scott Bloom
> Sent: Wednesday, May 23, 2018 15:41
> To: cowwoc <cowwoc at bbs.darktech.org>; 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
>> To duplicate under windows 10:
> 鈥 Setup two monitors, resolution doesn鈥檛 matter, however the Scale & layout option (windows 10), 鈥淐hange the size of text, apps and other items鈥 to 125% on one screen
> 鈥 Run the example-Qt4Qt5 app as shipped with the QScintilla core
> 鈥 In the screen with magnification, just type, you will see the visible cursor is NOT where it should be.
>> I have confirmed it doesn鈥檛 happen with SciTE
>> It doesn鈥檛 appear it has anything to do with moving, just having the window open on the scaled screen.
>> Gili, can you confirm that ?
>> Scott
>> From: cowwoc <cowwoc at bbs.darktech.org>
> Sent: Wednesday, May 23, 2018 15:19
> 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
>> Thanks Scott. As far as I can tell, this bug isn't 4k specific.
>> If I change my 1080p monitor to have the same scaling factor as the 4k monitor and drag TortoiseHg across the problem does not occur. The bug seems tied to different scaling factors, regardless of the monitor resolution.
>> Gili
>> On 2018-05-23 6:17 PM, Scott Bloom wrote:
> I don鈥檛 have a 4k monitor, but I will try to play with it on a multimonitor PC and see if I can set the scaling factor on one screen and not the other (all three screens are the same resolution here)
>> There is not (that I know of) a QScintialla public test app
>> Scott
>> From: cowwoc <cowwoc at bbs.darktech.org>
> Sent: Wednesday, May 23, 2018 15:15
> 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
>> It just tested SciTE and it works fine.
>> Do you have an equivalent program that uses QScintilla?
>> PS: Using TortoiseHg, if I keep the application on the same monitor and change its scaling factor the bug does not occur. The bug only seems to occur when the application is dragged from one monitor to another. My guess is that when the application is sitting on one monitor and the scaling factor is changed, it receives and responds to an event. But when the application is dragged across monitors it does not recieve a scaling-specific event and as such it doesn't think to update the DPI accordingly. I would be surprised if this logic was TortoiseHg-specific (it seems like something that should be handled by the lower layers) but who knows...
>> Thanks,
> Gili
>> On 2018-05-23 6:08 PM, Scott Bloom wrote:
> 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 athttps://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鈥檚 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> 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> 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:
>> 鈥 Plug in a second monitor (any will do) so your laptop sees multiple monitors.
> 鈥 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.
> 鈥 Download and install the Windows 10 ISO which you can download for free from https://www.microsoft.com/en-ca/software-download/windows10
> 鈥 You can run Windows 10 without a license for a short period of time (30 days I believe) so this isn't a problem.
> 鈥 Configure the VM with 2 virtual monitors and you should be able to reproduce the problem.
> 鈥 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
>>>>>>>
More information about the QScintilla
mailing list
‘She has never mentioned her father to me. Was he—well, the sort of man whom the County Club would not have blackballed?’ "We walked by the side of our teams or behind the wagons, we slept on the ground at night, we did our own cooking, we washed our knives by sticking them into the ground rapidly a few times, and we washed our plates with sand and wisps of grass. When we stopped, we arranged our wagons in a circle, and thus formed a 'corral,' or yard, where we drove our oxen to yoke them up. And the corral was often very useful as a fort, or camp, for defending ourselves against the Indians. Do you see that little hollow down there?" he asked, pointing to a depression in the ground a short distance to the right of the train. "Well, in that hollow our wagon-train was kept three days and nights by the Indians. Three days and nights they stayed around, and made several attacks. Two of our men were killed and three were wounded by their arrows, and others had narrow escapes. One arrow hit me on the throat, but I was saved by the knot of my neckerchief, and the point only tore the skin a little. Since that time I have always had a fondness for large neckties. I don't know how many of the Indians we killed, as they carried off their dead and wounded, to save them from being scalped. Next to getting the scalps of their enemies, the most important thing with the Indians is to save their own. We had several fights during our journey, but that one was the worst. Once a little party of us were surrounded in a small 'wallow,' and had a tough time to defend ourselves successfully. Luckily for us, the Indians had no fire-arms then, and their bows and arrows were no match for our rifles. Nowadays they are well armed, but there are[Pg 41] not so many of them, and they are not inclined to trouble the railway trains. They used to do a great deal of mischief in the old times, and many a poor fellow has been killed by them." As dusk came on nearly the whole population of Maastricht, with all their temporary guests, formed an endless procession and went to invoke God's mercy by the Virgin Mary's intercession. They went to Our Lady's Church, in which stands the miraculous statue of Sancta Maria Stella Maris. The procession filled all the principal streets and squares of the town. I took my stand at the corner of the Vrijthof, where all marched past me, men, women, and children, all praying aloud, with loud voices beseeching: "Our Lady, Star of the Sea, pray for us ... pray for us ... pray for us ...!" It had not occurred to her for some hours after Mrs. Campbell had told her of Landor's death that she was free now to give herself to Cairness. She had gasped, indeed, when she did remember it, and had put the thought away, angrily and self-reproachfully. But it returned now, and she felt that she might cling to it. She had been grateful, and she had been faithful, too.[Pg 286] She remembered only that Landor had been kind to her, and forgot that for the last two years she had borne with much harsh coldness, and with a sort of contempt which she felt in her unanalyzing mind to have been entirely unmerited. Gradually she raised herself until she sat quite erect by the side of the mound, the old exultation of her half-wild girlhood shining in her face as she planned the future, which only a few minutes before had seemed so hopeless. After he had gloated over Sergeant Ramsey, Shorty got his men into the road ready to start. Si placed himself in front of the squad and deliberately loaded his musket in their sight. Shorty took his place in the rear, and gave out: The groups about each gun thinned out, as the shrieking fragments of shell mowed down man after man, but the rapidity of the fire did not slacken in the least. One of the Lieutenants turned and motioned with his saber to the riders seated on their horses in the line of limbers under the cover of the slope. One rider sprang from each team and ran up to take the place of men who had fallen. "As long as there's men and women in the world, the men 'ull be top and the women bottom." Then, in the house, the little girls were useful. Mrs. Backfield was not so energetic as she used to be. She had never been a robust woman, and though her husband's care had kept her well and strong, her frame was not equal to Reuben's demands; after fourteen years' hard labour, she suffered from rheumatism, which though seldom acute, was inclined to make her stiff and slow. It was here that Caro and Tilly came in, and Reuben began to appreciate his girls. After all, girls were needed in a house—and as for young men and marriage, their father could easily see that such follies did not spoil their usefulness or take them from him. Caro and Tilly helped their grandmother in all sorts of ways—they dusted, they watched pots, they shelled peas and peeled potatoes, they darned house-linen, they could even make a bed between them. HoME一级毛片视频免费公开
ENTER NUMBET 0018www.qhxwjt.com.cn snvs.net.cn wulianhua.com.cn www.wewanli.com.cn www.hzhetai.com.cn gaaoc.com.cn lspump.net.cn daguji.com.cn tianfur.com.cn dkbrand.com.cn