[okular] [Bug 335189] save navigation panel mode across sessions

2020-05-27 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=335189

--- Comment #8 from Nate Graham  ---
Git commit b8b36ae529599da358f433fe23d7bac4dea79fa8 by Nate Graham.
Committed on 27/05/2020 at 13:37.
Pushed by ngraham into branch 'master'.

Improve the sidebar's navigation and UX

Okular's sidebar vertical view chooser toolbar suffers from a few issues:

* It's a nonstandard UI not used for category choosers in other pieces of KDE
software,
  and not used in other FOSS document readers
* What is shown and what is hidden is simultaneously too configurable while
still not
  offering the desirable UI common to other programs (i.e. no visible category
chooser,
  but a sidebar capable of displaying thumbnails, table of contents, search
results, etc.)
* With labels on it takes up quite a bit of horizontal space, while with labels
off, the
  categories are less than clear
* UX is kind of clunky with nonstandard behaviors (e.g. clicking on the current
category
  to hide that category's view while keeping the view chooser visible, showing
mostly
  disabled items)
* It's made with custom painting code, which reduces maintainability and
introduces bugs
  (e.g. https://bugs.kde.org/show_bug.cgi?id=408190)

This patch removes the vertical category chooser entirely and replaces it with
a tabbed
view on the top of the sidebar itself. The tabs are icons-only and have large
icons. A
button is added on the left side of the default toolbar to quickly hide or show
the
sidebar. In order to make room for the new button, the Previous and Next
buttons on the
toolbar are removed, as previous/next buttons are already present on the Page
Bar on the
bottom of the window so there's no need to duplicate this functionality. This
improves
the UX, fixes a variety of bugs, and deletes a lot of custom code of dubious
long-term
maintainability.

![vokoscreenNG-2020-04-16_13-29-24](https://invent.kde.org/graphics/okular/uploads/a1f96a315b69282df51de9993b1befaf/vokoscreenNG-2020-04-16_13-29-24.webm)
Related: bug 213508, bug 334441, bug 344599, bug 408190

FIXED-IN: 1.11.0

CHANGELOG: The sidebar can now be easily shown or hidden with a toolbar button,
and the category chooser no longer takes up so much space

M  +---doc/annotations.png
M  +---doc/bookmark-management.png
M  +8-10   doc/index.docbook
M  +---doc/mainwindow.png
M  +---doc/signatures-panel.png
M  +34   -34   part.cpp
M  +4-2part.h
M  +2-3part.rc
M  +10   -1ui/bookmarklist.cpp
M  +11   -1ui/layers.cpp
M  +11   -1ui/side_reviews.cpp
M  +21   -654  ui/sidebar.cpp
M  +1-19   ui/sidebar.h
M  +14   -1ui/signaturepanel.cpp
M  +23   -0ui/thumbnaillist.cpp
M  +2-3ui/thumbnaillist.h
M  +10   -1ui/toc.cpp

https://invent.kde.org/graphics/okular/commit/b8b36ae529599da358f433fe23d7bac4dea79fa8

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 335189] save navigation panel mode across sessions

2019-09-09 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=335189

Nate Graham  changed:

   What|Removed |Added

 CC||[email protected]

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 335189] save navigation panel mode across sessions

2017-06-02 Thread Simon Andric
https://bugs.kde.org/show_bug.cgi?id=335189

Simon Andric  changed:

   What|Removed |Added

 CC||[email protected]

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 335189] save navigation panel mode across sessions

2017-05-30 Thread dkxls23
https://bugs.kde.org/show_bug.cgi?id=335189

--- Comment #7 from [email protected]  ---
OK, this bug was already reported back in 2010, but never fixed correctly:
https://bugs.kde.org/show_bug.cgi?id=243564

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 335189] save navigation panel mode across sessions

2017-05-30 Thread dkxls23
https://bugs.kde.org/show_bug.cgi?id=335189

--- Comment #6 from [email protected]  ---
Also in this bug the feature was requested, but prematurely dismissed by Albert
Astals Cid due to bug reporting formalities:
https://bugs.kde.org/show_bug.cgi?id=355530

Considering that there are now 3 bug reports and quite many people to request
this feature I hope the developers could reconsider fixing this annoying bug
(as I actually think that this is not a feature request bug simply a bug in
okular).

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 335189] save navigation panel mode across sessions

2017-05-30 Thread dkxls23
https://bugs.kde.org/show_bug.cgi?id=335189

[email protected]  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #5 from [email protected]  ---
I can second the request to retaining the "no panel open" state across okular
restarts. This is probably the most annoying bug in KDE I am struggling with
every day for several years now!

As a side note, while I think that it doesn't matter who uses the application
for whatever purpose, I am a scientist using okular and LaTeX. ;)

Just to note, it seems like bug #335189 is a duplicate of this one
(https://bugs.kde.org/show_bug.cgi?id=335189).

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 335189] save navigation panel mode across sessions

2017-03-22 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=335189

[email protected] changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #4 from [email protected] ---
seems like a duplicate of https://bugs.kde.org/show_bug.cgi?id=342094

-- 
You are receiving this mail because:
You are watching all bug changes.