[konsole] [Bug 444136] New: Konsole window upon reload has vertical height too small on my 3 monitor setup with panel in middle screen

Eric Fontaine bugzilla_noreply at kde.org
Wed Oct 20 19:42:23 BST 2021


https://bugs.kde.org/show_bug.cgi?id=444136

            Bug ID: 444136
           Summary: Konsole window upon reload has vertical height too
                    small on my 3 monitor setup with panel in middle
                    screen
           Product: konsole
           Version: 21.08.2
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: ericrfontaine at hotmail.com
  Target Milestone: ---

Created attachment 142686
  --> https://bugs.kde.org/attachment.cgi?id=142686&action=edit
how Konsole looks when I reopen it

SUMMARY
Konsole window upon reload has vertical height too small on my 3 monitor setup
with panel in middle screen.

STEPS TO REPRODUCE
Glitch happens when I have konsole's "Remember Window Size" checked in
preferences (as is default), but doesn't happen if I unchecked that setting.

I have a 3-monitor setup*:
- Screen 0: DP 1080x1920 (vertical orientation on right)
- Screen 1: HDMI 1280x1024 (on left)
- Screen 2: DVI-D 2560x1600 (primary in middle, with panel)

The first time I opened Konsole, it is fine.  However upon reopening it, the
glitch happens...

OBSERVED RESULT

When konsole is closed, the file .config/konsolerc is created with what I
believe are buggy settings:

[Desktop Entry]
DefaultProfile=Profile 1.profile

[MainWindow]
DVI-D-0 DisplayPort-0 HDMI-A-0 XPosition 2560x1600=2269
DVI-D-0 DisplayPort-0 HDMI-A-0 YPosition 2560x1600=29
RestorePositionForNextInstance=false
State=AAAA/wAAAAD9AAAAAAAABTcAAAAYAAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAIAAAAWAG0AYQBpAG4AVABvAG8AbABCAGEAcgEAAAAA/////wAAAAAAAAAAAAAAHABzAGUAcwBzAGkAbwBuAFQAbwBvAGwAYgBhAHIBAAAFD/////8AAAAAAAAAAA==
StatusBar=Disabled
ToolBarsMovable=Disabled

At this point if I open konsole again, its window height is very short...can
only see about half a row of the terminal (see attached konsole-resize.png).

However if I delete that konsolerc file before opening konsole again, it
displays fine.  So the bug seems to be in how this file is saved when I have my
particular monitor setup.


*for reference here is output of xrandr (which I configured using KDE's Display
Configuration gui) so you know exactly my screen settings:

Screen 0: minimum 320 x 200, current 4920 x 1920, maximum 16384 x 16384
DisplayPort-0 connected 1080x1920+3840+0 left (normal left inverted right x
axis y axis) 531mm x 299mm
   1920x1080     60.00*+  59.94  
   1680x1050     59.95  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      59.89  
   1280x800      59.81  
   1152x864      75.00  
   1280x720      60.00    59.94  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
HDMI-A-0 connected 1280x1024+0+576 (normal left inverted right x axis y axis)
375mm x 300mm
   1280x1024     60.02*+  75.02  
   1920x1080     60.00    50.00    59.94  
   1280x800      60.02  
   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 primary 2560x1600+1280+0 (normal left inverted right x axis y
axis) 641mm x 401mm
   2560x1600     59.86* 
   1280x800      59.91  


EXPECTED RESULT
Konsole remembers my window size.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon 5.23 User Edition (fresh install
https://files.kde.org/neon/images/user/20211014-1524/neon-user-20211014-1524.iso)
on Linux v5.11.0-38-generic (#42~20.04.1-Ubuntu SMP Tue Sep 28 20:41:07 UTC
2021 x86_64 x86_64 x86_64 GNU/Linux)
KDE Plasma Version: 5.23.0
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
I login to KDE plasma with X as is the default, not wayland.

I can work around the bug by simply disabling that checkmark in preferences to
remember window size.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list