[Konsole-devel] [Bug 160422] How does konsole choose its very first initial size?
robertknight at gmail.com
Sat Apr 5 19:17:11 UTC 2008
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
------- Additional Comments From robertknight gmail com 2008-04-05 21:17 -------
SVN commit 793964 by knight:
Fix calculation of required display size given (lines,columns) in
TerminalDisplay widget. Include width of vertical scrollbar (if visible)
and top/left margins. Konsole will now start with a default width of 80 columns
on most systems if no window size has been saved in konsolerc
The initial size of Konsole is specified as 80x40 internally. Qt constrains
the size of top-level windows on their first automatic resize to a
maximum of 2/3rds of the screen size (see QWidgetPrivate::adjustedSize()).
This means that the display might not get the 80x40 columns that it asks
for, depending on the desktop size.
M +8 -8 TerminalDisplay.cpp
WebSVN link: http://websvn.kde.org/?view=rev&revision=793964
More information about the konsole-devel