[Okular-devel] Review Request 128436: Restore --unique behavior
Martin Tobias Holmedahl Sandsmark
martin.sandsmark at kde.org
Wed Jul 13 14:04:26 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128436/#review97351
-----------------------------------------------------------
did you run the tests (especially the mainshelltest, which has tests for the "unique" behaviour?
- Martin Tobias Holmedahl Sandsmark
On July 13, 2016, 10:56 a.m., Olivier Churlaud wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128436/
> -----------------------------------------------------------
>
> (Updated July 13, 2016, 10:56 a.m.)
>
>
> Review request for Okular, Albert Astals Cid and Martin Tobias Holmedahl Sandsmark.
>
>
> Repository: okular
>
>
> Description
> -------
>
> As I didn't know what unique was exactly for, here is what I considered (if I'm wrong, please correct me):
>
> User wants only one instance of okular so he starts it with --unique flag. From now on, every time he starts okular without the flag, it will raise the current instance. Opening a new file /should/ open a tab (currently overwrites the last one).
>
> In my opinion, if another --unique is started, it should drop the --unique (it is not the case now: it starts a new instance).
>
> Still to do as I see it:
> - open new documents in new tabs by default (in unique mode)
> - allow opening several documents at once in unique mode
> - Drop --unique if another session already exist
>
>
> Diffs
> -----
>
> shell/okular_main.cpp 2285f64
>
> Diff: https://git.reviewboard.kde.org/r/128436/diff/
>
>
> Testing
> -------
>
> Compile, behave as described above.
>
>
> Thanks,
>
> Olivier Churlaud
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20160713/d3397017/attachment.html>
More information about the Okular-devel
mailing list