I'm gonna follow your advice and ask this on the forum. It's important to have a feedback from the users.<br><br><div class="gmail_quote">On Mon, Mar 12, 2012 at 20:13, Albert Astals Cid <span dir="ltr"><<a href="mailto:aacid@kde.org">aacid@kde.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">El Dilluns, 12 de març de 2012, a les 09:52:45, Mailson Lira va escriure:<br>
> Hi everyone,<br>
<br>
Hi<br>
<div class="im"><br>
> Currently I'm working on this new<br>
</div>> feature[1<<a href="https://bugs.kde.org/show_bug.cgi?id=157198" target="_blank">https://bugs.kde.org/show_bug.cgi?id=157198</a>>]<br>
<div class="im">> which is make bookmark remember where in the page it was saved. The<br>
> solution is to make the bookmark save the center of the viewport, not only<br>
> the page number. With that in mind, the user now can have as many bookmarks<br>
> as he wants on a given page.<br>
<br>
</div>True, i had not though about when i told you to implement it, good catch :-)<br>
<div class="im"><br>
> This will change the behavior of the program, so I need to ask a few<br>
> questions on how this should work.<br>
><br>
> == Case 1 - "Remove bookmark" menu action ==<br>
><br>
> If you right click on a *bookmarked* page (or click on Bookmark in<br>
> menubar), you'll see an option to remove the current bookmark instead of<br>
> adding a new one.<br>
><br>
> Since the user can add another bookmark on another position we can't simply<br>
> show the "Remove bookmark" option on a bookmarked page anymore.<br>
><br>
> So what should we do with the "Remove bookmark" option?<br>
> - Check if the use is at the exact position of the bookmark and then show<br>
> the option to remove it? That may not be a good idea since if the user<br>
> moves 1px to the left, he's not on that bookmark position anymore.<br>
<br>
</div>Nope, too dificut.<br>
<div class="im"><br>
> - Show an extra option to remove all bookmarks on the page or the last<br>
> bookmark added? With that the "Remove bookmark" will not replace the "Add<br>
> bookmark" option.<br>
<br>
</div>"Remove Last added" is not a gread idea, i won't remember which is the last<br>
one i added tomorrow.<br>
<div class="im"><br>
><br>
> - Make the "Remove bookmark" option available when the viewport very close<br>
> to the bookmark position, so it doesn't need to be at the exact position.<br>
> That's tricky.<br>
<br>
</div>Yeah, too fuzzy.<br>
<br>
><br>
> Any suggestions?<br>
<br>
Not sure. Problem is I'm not a heaviy user of Okular myself so I am not sure<br>
what is the best solution. One solution i can see working would be keeping the<br>
Add/Remove Bookmark Page feature, and then adding a new item menu that is<br>
"Bookmark this position" (in oposion to 'this page'). For these "position"<br>
based bookmarks you would only be able to remove them from the bookmark<br>
manager in the sidebar (and we'd probably need some kind of icon identifying<br>
them as special bookmarks).<br>
<br>
This might be some extra over-engineering though, you might want to hang in<br>
the #kde or #kde-cafe channels in <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> and ask for opinions there<br>
or post in the kde forums to get some more okular users input as to how this<br>
would work. Asking the person that initially requested the feature might also<br>
work (even maybe he won't answer as the feature was requested years ago).<br>
<br>
Of course I'm not saying you have to implement what users say but they might<br>
have a good idea ;-)<br>
<div class="im"><br>
><br>
> == Case 2 - Ctrl+B shortcut ==<br>
><br>
> The Ctrl+B shortcut add or remove the page to bookmark. That may not work<br>
> well if we have many bookmarks in the page.<br>
> Should we detect if the current viewport is saved to bookmarks and then<br>
> Ctrl+B will remove them? Or that shortcut will just add bookmark and the<br>
> user needs to go to the list of saved bookmarks on the left side and remove<br>
> it manually?<br>
><br>
> The first can lead to undesirable results such as the user adding various<br>
> bookmarks on very close (but different) positions when what he really<br>
> wanted was to remove a bookmark.<br>
<br>
</div>That's basically the same problem as Case 1 but using the shortcut instead of<br>
the menu, we shoud solve Case 1 first and then apply the same rationale here.<br>
<div class="im"><br>
><br>
> == Case 3 - Save only one bookmark per page ==<br>
><br>
> The bookmark will remember the position on the page but will still allow<br>
> only one bookmark per page. That will not change the behavior of okular but<br>
> IMHO doesn't make much sense.<br>
<br>
</div>Why you say this? Isn't your whole email based in the assumtption that there<br>
will be more than one bookmark per page?<br>
<br>
Albert<br>
<div class="im"><br>
><br>
> == ==<br>
><br>
> Sorry for the long message but I had to ask those questions.<br>
><br>
> [1] <a href="https://bugs.kde.org/show_bug.cgi?id=157198" target="_blank">https://bugs.kde.org/show_bug.cgi?id=157198</a><br>
><br>
> --<br>
> Mailson Lira<br>
</div>_______________________________________________<br>
Okular-devel mailing list<br>
<a href="mailto:Okular-devel@kde.org">Okular-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/okular-devel" target="_blank">https://mail.kde.org/mailman/listinfo/okular-devel</a><br>
</blockquote></div><br>