Bug 427253 - konsole window doesn't open on correct (in focus) monitor, or tile correctly
Summary: konsole window doesn't open on correct (in focus) monitor, or tile correctly
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (show other bugs)
Version: 5.19.5
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-02 14:55 UTC by shawn
Modified: 2021-01-09 15:52 UTC (History)
0 users

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 shawn 2020-10-02 14:55:01 UTC
SUMMARY
Prior to updating to kwin 5.19.5 and konsole 20.08.1, an opened konsole windows would open on the monitor that is in focus and tile appropriately. Now it ignores tiling and always opens in the top left of the main monitor. Window tiling is set to minimal overlap.

STEPS TO REPRODUCE
1. have the above mentioned versions of software
2. open konsole through start menu, krunner or keyboard shortcut
3. 

OBSERVED RESULT
all konsole windows open in top left corner of main monitor

EXPECTED RESULT
windows should tile side by side on whatever monitor is in focus

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Manjaro
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION
I have a konsole window rule to set size (but not position). Editing this didn't effect anything.

All other window behave correctly so maybe this report belongs in the konsole section?
Comment 1 shawn 2020-10-04 14:05:05 UTC
(In reply to shawn from comment #0)
> SUMMARY
> Prior to updating to kwin 5.19.5 and konsole 20.08.1, an opened konsole
> windows would open on the monitor that is in focus and tile appropriately.
> Now it ignores tiling and always opens in the top left of the main monitor.
> Window tiling is set to minimal overlap.
> 
> STEPS TO REPRODUCE
> 1. have the above mentioned versions of software
> 2. open konsole through start menu, krunner or keyboard shortcut
> 3. 
> 
> OBSERVED RESULT
> all konsole windows open in top left corner of main monitor
> 
> EXPECTED RESULT
> windows should tile side by side on whatever monitor is in focus
> 
> SOFTWARE/OS VERSIONS
> Linux/KDE Plasma: KDE Manjaro
> KDE Plasma Version: 5.19.5
> KDE Frameworks Version: 5.74.0
> Qt Version: 5.15.1
> 
> ADDITIONAL INFORMATION
> I have a konsole window rule to set size (but not position). Editing this
> didn't effect anything.
> 
> All other window behave correctly so maybe this report belongs in the
> konsole section?

Edit: after multiple restarts it seems that the konsole window is not limited to the upper left but will sometimes appear in the middle or other locations still with windows sitting on top of each other instead of obeying window rules
Comment 2 Vlad Zahorodnii 2020-10-08 06:59:32 UTC
Is this issue gone after removing .config/konsolerc file? (make a backup copy of your konsolerc file before actually removing it)
Comment 3 shawn 2020-10-08 21:11:45 UTC
(In reply to Vlad Zahorodnii from comment #2)
> Is this issue gone after removing .config/konsolerc file? (make a backup
> copy of your konsolerc file before actually removing it)

renaming/removing this file caused the position to reset but did not fix the tiling issue. Windows still stack instead of obeying minimal overlap.

I can also set the position that the window will open with:
DP-0 DVI-D-0 XPosition=2560
DP-0 DVI-D-0 YPosition=29
(I have 2 monitors DP and DVI)


here is the full config:

[Desktop Entry]
DefaultProfile=Profile 1.profile

[DownloadDialog Settings]
Height 1080=494
Width 1920=700

[Favorite Profiles]
Favorites=small font.profile,Shell.profile

[MainWindow]
DP-0 DVI-D-0 Height 1080=484
DP-0 DVI-D-0 Height 1440=484
DP-0 DVI-D-0 Width 1920=648
DP-0 DVI-D-0 Width 2560=648
DP-0 DVI-D-0 XPosition=2560
DP-0 DVI-D-0 YPosition=29
Height 1080=484
Height 1440=484
State=AAAA/wAAAAD9AAAAAAAAAogAAAHGAAAABAAAAAQAAAAIAAAACPwAAAAA
ToolBarsMovable=Disabled
Width 1920=648
Width 2560=648

[TabBar]
ExpandTabWidth=true
TabBarPosition=Top

[ThumbnailsSettings]
ThumbnailCtrl=true

I've also tried clearing out all my kwin window rules with no success
Comment 4 shawn 2021-01-09 15:52:06 UTC
I'm closing this because reinstalling the entire OS for unrelated reasons happened to fixed the issue, so apparently it was just a quirk on my old system.