Bug 390672 - When moving Krita to second monitor, brush position indicator adds random
Summary: When moving Krita to second monitor, brush position indicator adds random
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 3.3.3
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2018-02-18 10:44 UTC by Peter Mueller
Modified: 2018-09-19 14:35 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Moving Krita to second monitor breaks brush position indicator (452.63 KB, video/mp4)
2018-02-18 10:44 UTC, Peter Mueller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Mueller 2018-02-18 10:44:25 UTC
Created attachment 110775 [details]
Moving Krita to second monitor breaks brush position indicator

Hi,

I've encountered the following. I use a two monitor set-up using one external monitor and the laptop monitor. Now, when I start with a blank page the brush position indicator is as expected. Then moving the Krita window to the second monitor breaks this indicator.

I'va attached a small video which shows this effect.

I'm on Windows 10. Let me know, what additional information you need.

BR

Peter
Comment 1 Alvin Wong 2018-02-18 11:19:26 UTC
What happened here is that the Krita window has spanned two monitors with different display density. The window is supposed to adjust the scaling according to which monitor it is on, but since there are more than one monitors to choose the scaling from, the behaviour is sort of undefined.

If you want a proper behaviour, the Krita window must not cross multiple monitors with different display scaling option. Either set both monitors to the same scaling in the Windows display settings, or resize the window so that it fits within one of the two monitors.
Comment 2 Peter Mueller 2018-02-18 12:01:10 UTC
(In reply to Alvin Wong from comment #1)
> What happened here is that the Krita window has spanned two monitors with
> different display density. The window is supposed to adjust the scaling
> according to which monitor it is on, but since there are more than one
> monitors to choose the scaling from, the behaviour is sort of undefined.
> 
> If you want a proper behaviour, the Krita window must not cross multiple
> monitors with different display scaling option. Either set both monitors to
> the same scaling in the Windows display settings, or resize the window so
> that it fits within one of the two monitors.

Both monitors run at 1920 x 1080. Anyway, I still think it should not happen that the indicator shows artifacts.

BR

Peter
Comment 3 Alvin Wong 2018-02-18 13:17:23 UTC
It's not the resolution that matters, it's the scaling factor. The two monitors can have different even if they have the same number of pixels.

To me, it looks like the first monitor has a scaling factor of 100% while the second monitor is set to 125%.

It is unmeaningful to try to fix any weirdness when a window spans monitors with different scaling, because there is not a correct and "expected" behaviour for any applications when a window is under this state (at least on Windows).

The cursor artifact might be a bug, but unless it also happens when the Krita window is completely inside the area of one monitor, it does not make sense for anyone to try to figure out what's happening, let alone "fixing" anything.
Comment 4 Peter Mueller 2018-02-18 13:45:53 UTC
Aah ... ok. Thanks for the clarification, indeed I missed the point. It is true that both monitors work with different scaling factors.

Note that if I completely move the Krita window to the other monitor the effect also happens. It is not only because Krita spans two monitors.
Comment 5 Alvin Wong 2018-02-18 14:08:52 UTC
I see, sorry for the confusion. I'll see if I can reproduce it.
Comment 6 Julian Steinmann 2018-09-15 14:12:47 UTC
Can you still reproduce this issue with Krita 4.1 or newer?
Comment 7 Peter Mueller 2018-09-15 19:34:11 UTC
just played along with v4.1.1.

It seems to work. I was able to span krita across both monitors. Monitors do have different scaling factors. I also moved the app window completely from one to the other monitor and back. Received no artifacts.

From my perspective, it's solved.
Comment 8 Andrew Crouthamel 2018-09-19 14:35:30 UTC
This bug has had its resolution changed, but accidentally has been left in NEEDSINFO status. I am thus closing this bug and setting the status as RESOLVED to reflect the resolution change.