[okular] [Bug 344599] Thumbnails sidebar always open when okular starts

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

Nate Graham  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/grap
   ||hics/okular/commit/b8b36ae5
   ||29599da358f433fe23d7bac4dea
   ||79fa8
 Status|CONFIRMED   |RESOLVED
   Version Fixed In||1.11.0

--- Comment #13 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 408190, bug 335189

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 344599] Thumbnails sidebar always open when okular starts

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

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

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

[okular] [Bug 344599] Thumbnails sidebar always open when okular starts

2019-05-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=344599

jel...@yahoo.com changed:

   What|Removed |Added

 CC||jel...@yahoo.com

--- Comment #12 from jel...@yahoo.com ---
This has bothered me for a long time. Please fix/review.

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

[okular] [Bug 344599] Thumbnails sidebar always open when okular starts

2018-04-05 Thread Simon Andric
https://bugs.kde.org/show_bug.cgi?id=344599

Simon Andric  changed:

   What|Removed |Added

 CC||simonandr...@gmail.com

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

[okular] [Bug 344599] Thumbnails sidebar always open when okular starts

2018-03-08 Thread Dileep Sankhla
https://bugs.kde.org/show_bug.cgi?id=344599

--- Comment #11 from Dileep Sankhla  ---
May someone please review my patch being sent?

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

[okular] [Bug 344599] Thumbnails sidebar always open when okular starts

2018-03-05 Thread Dileep Sankhla
https://bugs.kde.org/show_bug.cgi?id=344599

Dileep Sankhla  changed:

   What|Removed |Added

 CC||sankhla.dilee...@gmail.com

--- Comment #10 from Dileep Sankhla  ---
I have sent a patch here: https://phabricator.kde.org/D11051

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

[okular] [Bug 344599] Thumbnails sidebar always open when okular starts

2017-11-19 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=344599

--- Comment #9 from Albert Astals Cid  ---
(In reply to John Florian from comment #8)
> I too find the default behavior a minor annoyance.  I rarely work with PDFs
> that are but more than a few pages so the navigation panel is just wasted
> real estate for me.  I'd much prefer to enable it when needed rather than
> almost always closing it.
> 
> Can we expect a new configuration option for this any time soon?

A configuration option i don't think makes any sense, remembering the last
state after closing may be smarter, but needs someone with time to implement
it.

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

[okular] [Bug 344599] Thumbnails sidebar always open when okular starts

2017-11-19 Thread Dr . Chapatin
https://bugs.kde.org/show_bug.cgi?id=344599

Dr. Chapatin  changed:

   What|Removed |Added

 CC||bugsefor...@gmx.com

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

[okular] [Bug 344599] Thumbnails sidebar always open when okular starts

2017-11-19 Thread John Florian
https://bugs.kde.org/show_bug.cgi?id=344599

John Florian  changed:

   What|Removed |Added

 CC||k...@doubledog.org

--- Comment #8 from John Florian  ---
I too find the default behavior a minor annoyance.  I rarely work with PDFs
that are but more than a few pages so the navigation panel is just wasted real
estate for me.  I'd much prefer to enable it when needed rather than almost
always closing it.

Can we expect a new configuration option for this any time soon?

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

[okular] [Bug 344599] Thumbnails sidebar always open when okular starts

2016-09-01 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=344599

j...@antonello.org changed:

   What|Removed |Added

 CC||j...@antonello.org

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


[okular] [Bug 344599] Thumbnails sidebar always open when okular starts

2015-12-08 Thread Sumit Sahrawat via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=344599

--- Comment #7 from Sumit Sahrawat  ---
Yup. My bad. I'm extremely sorry.
I didn't read the issue carefully enough.

I'll be more careful in the future.
Sorry for the time wasted.

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


[okular] [Bug 344599] Thumbnails sidebar always open when okular starts

2015-12-08 Thread Albert Astals Cid via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=344599

Albert Astals Cid  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |CONFIRMED

--- Comment #6 from Albert Astals Cid  ---
Using Plasma or not has nothing to do with the bug, and yes this bug is still
reproducible.

Sumit please be a bit more careful at reproducing the steps when suggesting a
bug has been fixed.

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


[okular] [Bug 344599] Thumbnails sidebar always open when okular starts

2015-12-04 Thread Sumit Sahrawat via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=344599

--- Comment #5 from Sumit Sahrawat  ---
I'm on archlinux using xmonad and no KDE/Plasma.

```
$ okular --version
Qt: 4.8.7
KDE Development Platform: 4.14.14
Okular: 0.23.2
```

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


[okular] [Bug 344599] Thumbnails sidebar always open when okular starts

2015-12-03 Thread Sumit Sahrawat via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=344599

Sumit Sahrawat  changed:

   What|Removed |Added

 CC||sumit.sahrawat.apm13@iitbhu
   ||.ac.in

--- Comment #1 from Sumit Sahrawat  ---
Looks like this has been fixed.

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


[okular] [Bug 344599] Thumbnails sidebar always open when okular starts

2015-12-03 Thread Albert Astals Cid via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=344599

Albert Astals Cid  changed:

   What|Removed |Added

 Status|CONFIRMED   |NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #2 from Albert Astals Cid  ---
Chris can you reproduce your problem in newer versions of Okular?

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


[okular] [Bug 344599] Thumbnails sidebar always open when okular starts

2015-12-03 Thread Ansa via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=344599

Ansa  changed:

   What|Removed |Added

 CC||ansa.a...@gmx.net

--- Comment #3 from Ansa  ---
I still have this problem, although I also have the impression that it has
recently much improved. 

My hypothesis is that files which contain bookmarks (so that the "Contents" tab
in the Navigation Panel can be activated) open with the Navigation Panel closed
even if both the file and Okular where closed from a position with the
Navigation Panel open. On the other hand, files without bookmarks open with the
Navigation Panel open on the Thumbnail view, again irrespective of whether the
Navigation Panel was open or closed the last time Okular and/or the file were
open.

Ubuntu 14.04.3 LTS
Qt: 4.8.6
KDE Development Platform: 4.13.3
Okular: 0.19.3

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