[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 245279] New: History (back button) in documentation viewer
From: Nicolás Alvarez <nicolas.alvarez () gmail ! com>
Date: 2010-07-21 3:47:28
Message-ID: bug-245279-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=245279
Summary: History (back button) in documentation viewer doesn't
work properly
Product: kdevelop
Version: 4.0.0
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: documentation viewer
AssignedTo: kdevelop-bugs@kdevelop.org
ReportedBy: nicolas.alvarez@gmail.com
Version: 4.0.0 (using KDE 4.4.4)
OS: Linux
Page history in the Documentation toolview doesn't work the way one would
usually expect, and the way web browsers and other programs work. Going back
and switching to another page just adds the new page at the end of the history
list, without removing items that followed the current history location, so
going back again doesn't take you to the page you were viewing before switching
pages.
Reproducible: Always
Steps to Reproduce:
- Open documentation for QWidget.
- Click on QAbstractButton from inheritance list. The QAbstractButton page
loads.
- Click the Back button. You return to QWidget.
- Click on QDialog from inheritance list. The QDialog page loads.
- Click the Back button. I'd expect to return to QWidget, but I'm taken to
QAbstractButton instead.
(Mostly note to self in case I get around to fixing it myself.) The fix would
be in DocumentationView::addHistory in kdevplatform
shell/documentationview.cpp. Probably clearing mHistory items between mCurrent
and mHistory.end(). Watch out for off-by-one when doing that. Also should
investigate if it's possible to write tests.
By the way, the bugzilla component "documentation viewer" is in the kdevelop
product, however it's actually part of kdevplatform.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic