[Konsole-devel] [Bug 278863] New: In Low Screen Heights (768 px) Konsole always opens as full-height (even after resized).

Shlomi Fish shlomif at iglu.org.il
Sat Jul 30 16:16:27 UTC 2011


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

           Summary: In Low Screen Heights (768 px) Konsole always opens as
                    full-height (even after resized).
           Product: konsole
           Version: 2.6.4
          Platform: Mandriva RPMs
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: shlomif at iglu.org.il


Version:           2.6.4 (using KDE 4.7.0) 
OS:                Linux

KDE 4's Konsole always starts in full-screen height, even after I explicitly
resize it. I want it to be only 24-lines high, but it is ignored. I tried
deleting the files under ~/.kde4/share/config/session/ , tried pkill konsole,
and tried in a new UNIX user account - the bug is always there.

I have a screen whose height is only 768 lines, and my default font may be
pretty large. It happens even though the "Save window size and position on
exit" is toggled on for the current profile as it is by default.

See:

https://qa.mandriva.com/show_bug.cgi?id=63814

After a long investigation I found that:

1. KWin assigns the NET::MaxVert flag to the window, which causes it to open at
maximal height (= vertical size).

2. This happens because the height of the window is requested to be too large
(769 pixels whereas I only have 768.).

3. What this patch does is tentatively workaround the problem by requesting a
smaller terminal size (80*20 instead of 80*40), but it's really a kludge.

Regards,

-- Shlomi Fish

Reproducible: Always

Steps to Reproduce:
1. Create a new UNIX user account.
2. Login from the virtual console.
3. Start KDE using startx -- :1
4. Invoke a konsole.
5. Resize it to be 10 lines high or so.
6. Close it.
7. Start a new konsole.

Actual Results:  
Result: the new konsole is the height of the screen.

Expected Results:  
The New Konsole should be resized properly.

I'm on Mandriva Linux Cooker on an x86-64 laptop with a 768 pixels high screen.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list