[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 92460] Scroll buttons appear on reboot
From: "Aaron J.Seigo" <aseigo () kde ! org>
Date: 2004-11-16 23:00:43
Message-ID: 20041116230043.10788.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=92460
aseigo kde org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From aseigo kde org 2004-11-17 00:00 -------
CVS commit by aseigo:
since we may be laying out the panel before being shown(), let's see if the
hidebuttons WOULD be shown if we were, rather than whether they really ARE
shown.
BUG:92460
BUG:93204
M +5 -5 panner.cpp 1.5.2.1
--- kdebase/kicker/share/panner.cpp #1.5:1.5.2.1
@ -121,6 +121,6 @ void Panner::scrollLeftUp()
void Panner::updateScrollButtons()
{
- if ((contentsWidth() - 1 > width() && orientation() == Horizontal) ||
- (contentsHeight() -1 > height() && orientation() == Vertical))
+ if ((orientation() == Horizontal && contentsWidth() - 1 > width()) ||
+ (orientation() == Vertical && contentsHeight() -1 > height()))
{
if (!_luSB->isVisible())
@ -140,5 +140,5 @ void Panner::updateScrollButtons()
}
}
- else if (_luSB->isVisible())
+ else if (_luSB->isVisibleTo(this))
{
_luSB->hide();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic