You are not logged in.

#1 2021-06-05 11:20:13

dsch
Member
Registered: 2015-10-05
Posts: 36

KDE Konsole window position and size

Hello all,

I am experiencing a very strange issue with Konsole: Every time I open the application it opens at the top left of the screen with a terminal size of 59x1.

What I have tried so far:

I removed the ~/.config/konsolerc configuration file and the ~/.local/share/konsole folder. I lost my configuration but the window opened again at the same position and with the same size.

I unchecked the Settings > Configure Konsole > General > Remember window size. This started Konsole again at top left corner but with the initial size of the profile.

I must state that I do not have any KWin rules.

I tried to create some for Konsole and they were respected, but the moment I deleted them, Konsole started opening again at the top left of the screen with a terminal size of 59x1.

Any help is much appreciated.

Offline

#2 2021-06-05 12:01:07

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: KDE Konsole window position and size

Go to Settings -> Window Management -> Window Behaviour -> Advance and there you have a general setting for window placement and sizing.

Offline

#3 2021-06-05 12:38:04

dsch
Member
Registered: 2015-10-05
Posts: 36

Re: KDE Konsole window position and size

Thanks, d_fajardo, I have already done this. It does not help.

Since I posted this, I have been trying things and I might have not included an important piece of information in my original post.

I changed my monitor and I replaced it with a 3-monitor configuration. This is when this started to happen. I have the same positioning problem with konsole, dolphin, and systemsettings.

So, I opened konsole. It opened on the top left corner of the left screen.
Then I maximized it and clicked the maximize button again.
Then I dragged the lower right edge to resize it and closet.

When I opened it again, it opened with the correct size and position. That solved the issue partially for all the apps that were showing this issue.

Now the problem is that those apps will not remember their position on a different monitor. They will always open on the left monitor.

I must state that my "Primary" monitor is the middle one.

Offline

#4 2021-06-05 12:45:44

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: KDE Konsole window position and size

I see. You didn't mention in your first post you have 3 monitors. I don't have the answer but I'm intrigued. If I find any clue I'll let you know.

Offline

#5 2021-06-05 14:38:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,527

Re: KDE Konsole window position and size

Output of "xrandr -q" and "xprop _NET_WM_STRUT_PARTIAL _NET_WM_STRUT" for every panel you have (the stuff that will not be covered by a maximized window)

Offline

#6 2021-06-05 15:13:15

dsch
Member
Registered: 2015-10-05
Posts: 36

Re: KDE Konsole window position and size

seth wrote:

Output of "xrandr -q" and "xprop _NET_WM_STRUT_PARTIAL _NET_WM_STRUT" for every panel you have (the stuff that will not be covered by a maximized window)

I only use one panel. The KDE Plasma default one and I set it to auto-hide. Therefore, there's nothing to click on with xprop.

Here's the output of xrandr:

Screen 0: minimum 320 x 200, current 6240 x 2160, maximum 16384 x 16384
DisplayPort-0 connected primary 3840x2160+1200+0 (normal left inverted right x axis y axis) 697mm x 392mm
   3840x2160     60.00*+  29.98  
   2560x1440     59.95  
   1920x1200     59.88  
   2048x1080     24.00  
   1920x1080     60.00    50.00    59.94    24.00    23.98  
   1600x1200     60.00  
   1680x1050     60.00  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      60.00  
   1280x800      60.00  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
HDMI-A-0 connected 1200x1920+5040+0 right (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200     59.95*+
   1920x1080     60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1600x1200     60.00  
   1680x1050     59.95  
   1280x1024     75.02    60.02  
   1440x900      59.95  
   1280x800      59.95  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DVI-D-0 connected 1200x1920+0+0 left (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200     59.95*+
   1920x1080     60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1600x1200     60.00  
   1680x1050     59.95  
   1280x1024     75.02    60.02  
   1440x900      59.95  
   1280x800      59.95  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  

Offline

#7 2021-06-05 15:35:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,527

Re: KDE Konsole window position and size

xprop -root _NET_WORKAREA

Offline

#8 2021-06-05 15:44:49

dsch
Member
Registered: 2015-10-05
Posts: 36

Re: KDE Konsole window position and size

seth wrote:
xprop -root _NET_WORKAREA

Here's the output:

_NET_WORKAREA(CARDINAL) = 0, 0, 6240, 2160

Offline

#9 2021-06-05 16:28:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,527

Re: KDE Konsole window position and size

'key, so it's not restricted and the WM is free to place the windows wherever it wants to.
KWin certainly offers multiple strategies for window placement so have a look at its settings.

Offline

#10 2021-06-05 16:40:05

dsch
Member
Registered: 2015-10-05
Posts: 36

Re: KDE Konsole window position and size

seth wrote:

'key, so it's not restricted and the WM is free to place the windows wherever it wants to.
KWin certainly offers multiple strategies for window placement so have a look at its settings.

Thanks. seth.

I posted on KDE Community too, since everything points to a KDE issue.

Offline

Board footer

Powered by FluxBB