| Summary: | Konsole unnecessarily redraws the terminal window when trying to switch sessions with only one session open. This results in flicker. | ||
|---|---|---|---|
| Product: | [Applications] konsole | Reporter: | Rudo Thomas <rudo> |
| Component: | general | Assignee: | Konsole Bugs <konsole-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | ||
| Priority: | LO | ||
| Version First Reported In: | 1.5.1 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | All | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | This patch solves the problem described. | ||
|
Description
Rudo Thomas
2005-06-11 01:08:48 UTC
Created attachment 11397 [details]
This patch solves the problem described.
Please commit.
SVN commit 550095 by hindenburg:
Upon Prev/Next session, only activate new session when session.count > 1.
Will forward port when I get trunk/kdebase compiling again...
BUG: 107197
M +4 -2 konsole.cpp
--- branches/KDE/3.5/kdebase/konsole/konsole/konsole.cpp #550094:550095
@@ -3064,7 +3064,8 @@
{
sessions.find(se); sessions.prev();
if (!sessions.current()) sessions.last();
- if (sessions.current()) activateSession(sessions.current());
+ if (sessions.current() && sessions.count() > 1)
+ activateSession(sessions.current());
}
/*! Cycle to next session (if any) */
@@ -3073,7 +3074,8 @@
{
sessions.find(se); sessions.next();
if (!sessions.current()) sessions.first();
- if (sessions.current()) activateSession(sessions.current());
+ if (sessions.current() && sessions.count() > 1)
+ activateSession(sessions.current());
}
void Konsole::slotMovedTab(int from, int to)
|