[Okular-devel] Review Request 128436: Restore --unique behavior
Albert Astals Cid
aacid at kde.org
Wed Jul 13 21:29:56 UTC 2016
> On July 13, 2016, 2:04 p.m., Martin Tobias Holmedahl Sandsmark wrote:
> > did you run the tests (especially the mainshelltest, which has tests for the "unique" behaviour?
>
> Martin Tobias Holmedahl Sandsmark wrote:
> but fwiw, your description of the behaviour seems correct to me, but I think it should be up to Albert to decide what should actually happen.
What should actually happen is what the master branch does.
- Albert
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128436/#review97351
-----------------------------------------------------------
On July 13, 2016, 7:06 p.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, 7:06 p.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/d6945ce0/attachment-0001.html>
More information about the Okular-devel
mailing list