Bug 422463 - In multi monitor configuration Screen Edges doesn't work correctly
Summary: In multi monitor configuration Screen Edges doesn't work correctly
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (show other bugs)
Version: 5.18.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-04 20:54 UTC by Piotr Mierzwinski
Modified: 2022-12-15 05:16 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mierzwinski 2020-06-04 20:54:34 UTC
SUMMARY
I have multi monitors configuration. Actually there are two displays. Main monitor and projector, which is positioned in "Display Configuration" at right side of monitor. Monitor has resolution 2560x1440 and projector has 1920x1080. Plasma session is running in X-Server.

The issue is that, when I move mouse cursor into right top corner of my monitor happens nothing. Just assigned action doesn't work. Only to activate this action I need to move mouse cursor into right top corner of second display so screen of projector. In my opinion this is not intuitive. I work on main monitor and would like to get action in right top corner this display. Please notice that left top corner works well. BTW. Mouse cursor doesn't move on second screen after I move it into right top corner, because monitor has greater resolution than positioned at right side screen of projector.

Additional problem is that, my projector is usually turned off or actually working in standby mode. I turn on it occasionally. Please notice even projector is turned off, but connected to my PC kwin/plasma sees it as normal display and even I switching my virtual desktops (I have 2) I can see it through split of second. I can move mouse cursor on this not visible desktop, I can move any window on it and sometime even some applications displays its window on this invisible screen. To be honest this is very annoying experience, because I have to choices in this moment. Either I can blindly catch window (holding left Alt) or just turn on projector and normally move window back to main monitor. Option to move window between displays is not available in task icon this window.

I'n not sure if described here issue is that kwin/plasma gets incorrectly provided information about screen from xorg sever or the issue is somewhere in kwin/plasma.
I didn't test this in Wayland session.

STEPS TO REPRODUCE
1. to your PC connect any display and let kwin/Plasma recognize it
2. In "Display Configuration" place it at right side of your main monitor
3. turn off connected monitor, let it be in standby mode
4. in "Screen Edges" configure any action for right corner - I have "Show windows from all desktops"
5. Move mouse cursor into top right corner your main monitor


OBSERVED RESULT
happens nothing or cursor moves on second display if it has smaller or equal resolution like main screen.

EXPECTED RESULT
assigned activity should be run

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: YES
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.15

ADDITIONAL INFORMATION
In Windows 7 and Windows 10 I didn't observe such strange behavior - not visible desktop for second display what is turned off (works in standy mode) is just not achievable at all. Only when I turn on it is achievable.
Comment 1 Piotr Mierzwinski 2020-06-04 21:32:46 UTC
I tested Wayland session. I can say only that Behavior is the same. I suppose that here information about screens isn't get from xorg.

Including issue that after very first login (new user) and very first run of any application it appears on not visible screen.
Anyway I just started konsole which window appeared on projector screen which was not visible, because projector was turned off.
Comment 2 Piotr Mierzwinski 2020-09-29 20:52:02 UTC
Maybe this is not a bug only intentional behavior, that after extension of desktop with another display, only the extreme corners worked and not this for current desktop bordering with second display.
Anyway I expected that corners in current desktop work, and maybe I was wrong.
Comment 3 Vlad Zahorodnii 2022-11-15 11:46:21 UTC
It sounds like neither xorg nor kwin_wayland recognize that the external monitor is off. Can you post the output of `kscreen-doctor -o` command after "turn off connected monitor, let it be in standby mode"?
Comment 4 Nate Graham 2022-11-15 14:57:42 UTC
.
Comment 5 Bug Janitor Service 2022-11-30 05:16:17 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2022-12-15 05:16:31 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!