Feed Advanced Search

Feb 4 2020

simgunz added a comment to D15580: New annotation toolbar.

aacid requested to write some autotest for the ToggleActionMenu before merging this. I'll merge master in this review and work on the autotests soon.

It’s okay to me that you write the autotests. If you wish, I could do that instead.

I am new to autotests, so I will have to learn how to do that. I am also unsure about what should be tested. The ToggleActionMenu itself, or its behaviour in Okular?

Feb 4 2020, 3:52 PM · Documentation, Okular
davidhurka added a comment to D15580: New annotation toolbar.

aacid requested to write some autotest for the ToggleActionMenu before merging this. I'll merge master in this review and work on the autotests soon.

Feb 4 2020, 3:11 PM · Documentation, Okular

Feb 3 2020

aacid added a comment to D15580: New annotation toolbar.

This is huge, i would really welcome if it could be moved over to invent.kde.org since i'm 92% sure some of the clazy/clang-tidy checks will fail.

Feb 3 2020, 10:48 PM · Documentation, Okular
ngraham added a comment to D15580: New annotation toolbar.

Thanks!

Feb 3 2020, 9:41 PM · Documentation, Okular
simgunz added a comment to D15580: New annotation toolbar.

aacid requested to write some autotest for the ToggleActionMenu before merging this. I'll merge master in this review and work on the autotests soon.

Feb 3 2020, 9:26 PM · Documentation, Okular
ngraham added a comment to D15580: New annotation toolbar.

Looks like the dependent patch has landed, so we can more forward with this.

Feb 3 2020, 9:11 PM · Documentation, Okular
rpanerai abandoned D27099: Highlight TOC items with a bold font.

I am closing this, as suggested.
The progress of this patch can now be tracked through this merge request.

Feb 3 2020, 5:42 PM · VDG, Okular

Feb 2 2020

aacid added a comment to D27099: Highlight TOC items with a bold font.

Could you please discard this and submit it via a merge request in https://invent.kde.org/kde/okular ?

Feb 2 2020, 2:43 PM · VDG, Okular
rpanerai changed the visibility for D27099: Highlight TOC items with a bold font.
Feb 2 2020, 12:21 PM · VDG, Okular
rpanerai requested review of D27099: Highlight TOC items with a bold font.
Feb 2 2020, 12:19 PM · VDG, Okular
aacid closed D21971: Replace ToolAction by ToggleActionMenu.

This was landed, maybe phabricator not seeing it because we're using gitlab now

Feb 2 2020, 8:47 AM · Okular
aacid added a comment to D21971: Replace ToolAction by ToggleActionMenu.

I'm going to merge this because it's been hanging around for more than 6 months and Simone is vouching for it, but honestly for stuff like this we should have UI autotests since it's the thing that will *defenitely* break in the future because it does so many things people will not even be sure what was the intended behaviour.

Feb 2 2020, 8:45 AM · Okular

Jan 27 2020

simgunz accepted D21971: Replace ToolAction by ToggleActionMenu.

I compiled and it works. Looks good to me.

Jan 27 2020, 9:40 AM · Okular

Jan 25 2020

davidhurka updated the diff for D21971: Replace ToolAction by ToggleActionMenu.
  • Do modifications suggested by @simgunz
Jan 25 2020, 6:47 PM · Okular
davidhurka added a comment to D21971: Replace ToolAction by ToggleActionMenu.

I’m getting a bit dizy about the repository. I thought I merged master, but apparently I made a mistake. Thanks for pointing me along the right way.

Jan 25 2020, 6:46 PM · Okular
davidhurka updated the diff for D21971: Replace ToolAction by ToggleActionMenu.
  • Merge branch 'master' into create-configurable-toggleactionmenu
Jan 25 2020, 6:26 PM · Okular

Jan 19 2020

simgunz added inline comments to D21971: Replace ToolAction by ToggleActionMenu.
Jan 19 2020, 7:10 PM · Okular
simgunz added a comment to D21971: Replace ToolAction by ToggleActionMenu.

You need to merge master into this review or rebase because there is a merge conflict. I suggested you the modifications that were introduced in master (qAsConst) and few other changes.

Jan 19 2020, 6:55 PM · Okular

Jan 18 2020

davidhurka updated the diff for D21971: Replace ToolAction by ToggleActionMenu.

pong :) Sorry, I wasn’t available for the last weeks.

Jan 18 2020, 6:55 PM · Okular

Jan 9 2020

yurchor added a comment to D26190: Fix man page formatting.

Should be fixed in stable for now.

Jan 9 2020, 7:41 PM · Documentation, Okular
yurchor added a comment to D26190: Fix man page formatting.

Very few people know about this problem (es, nl, pt, pt_BR). And even some those who do know just forgot to update the docbook (de, uk). Some docbooks cannot be updated because the translations are now incomplete (et, fr, ru). Thus there should be some coordinated effort to fix this from the translator side.

Jan 9 2020, 7:14 PM · Documentation, Okular
aacid added a comment to D26190: Fix man page formatting.

I guess the translators need to re-generate them

Jan 9 2020, 7:00 PM · Documentation, Okular
arojas added a comment to D26190: Fix man page formatting.

The localized man pages are still broken in 19.12.1 - what does it need to happen for them to pick up the change?

Jan 9 2020, 6:35 PM · Documentation, Okular

Jan 8 2020

aacid added a comment to D26163: Install okularpart into plugins/kf5/parts/, embed JSON metadata.

i'd say shelf it for KF6 then, thanks :)

Jan 8 2020, 9:38 PM · Okular

Jan 7 2020

dfaure added a comment to D26163: Install okularpart into plugins/kf5/parts/, embed JSON metadata.

If they have X-KDE-Library=kf5/parts/okularpart then yes, likely.

Jan 7 2020, 11:46 PM · Okular
aacid added a comment to D26163: Install okularpart into plugins/kf5/parts/, embed JSON metadata.

Does this break generators that are not inside the okular codebase?

Jan 7 2020, 10:37 PM · Okular

Jan 1 2020

dfaure updated the diff for D26163: Install okularpart into plugins/kf5/parts/, embed JSON metadata.

Embed JSON metadata

Jan 1 2020, 7:55 PM · Okular
aacid added a comment to T11539: Port Okular away from KHTML.

You can always QWebEnginePage::printToPdf and open the PDF depending how terribly slow that is

Jan 1 2020, 12:02 PM · Okular

Dec 31 2019

gassaf added a comment to T11539: Port Okular away from KHTML.

The only think Okular knows how to show is QImages.

Ahh ok, than I don't know, if porting is even possible, without putting tremendous effort into it. Or QWebEngine somehow gets the featurem to render QImages. But I doubt that, since it is using a completely different render framework.

Dec 31 2019, 2:23 PM · Okular
aacid added a comment to T11539: Port Okular away from KHTML.

So Okular would probably need a new Generator base class, to display HTML Documents using QWebEngine?

Dec 31 2019, 12:18 AM · Okular
gassaf added a comment to T11539: Port Okular away from KHTML.

there is a kchmviewer that uses qtwebengine directly for rendering. I don't know how that fits in the okular way of doing things.

Okular already uses the kchmviewer backend code, which supports two modes, QWebEngine and using KTHML. But switching to QWebEngine would break the current workflow used in okular, which is basically to render a page with khtml as a QImage and than return this QImage. AFAIK this is not possible with QWebEngine. So Okular would probably need a new Generator base class, to display HTML Documents using QWebEngine?

Dec 31 2019, 12:09 AM · Okular

Dec 28 2019

ngraham added a comment to D21971: Replace ToolAction by ToggleActionMenu.

@davidhurka friendly ping. :)

Dec 28 2019, 8:47 PM · Okular
ngraham moved T8076: Fix design of annotation toolbar from Backlog/Planned to Sent to dev on the VDG board.
Dec 28 2019, 8:46 PM · VDG, Okular

Dec 24 2019

aacid added a comment to D26190: Fix man page formatting.

You should have commited this to the stable branch and then merged to master.

I'll cherry-pick -x to stable now, it's worse, but relatively acceptable

I assumed this was a string freeze break since the page is localized.

Dec 24 2019, 10:36 AM · Documentation, Okular
arojas added a comment to D26190: Fix man page formatting.

You should have commited this to the stable branch and then merged to master.

I'll cherry-pick -x to stable now, it's worse, but relatively acceptable

Dec 24 2019, 10:15 AM · Documentation, Okular
aacid added a comment to D26190: Fix man page formatting.

You should have commited this to the stable branch and then merged to master.

Dec 24 2019, 10:11 AM · Documentation, Okular

Dec 23 2019

arojas closed D26190: Fix man page formatting.
Dec 23 2019, 5:32 PM · Documentation, Okular
arojas added a comment to D26190: Fix man page formatting.

Uhm, but it shouldn't be an issue, really. As a workaround this is fine, but maybe an XSLT issue? Why was this seen only on Arch?

Dec 23 2019, 2:55 PM · Documentation, Okular
ltoscano added a comment to D26190: Fix man page formatting.

Uhm, but it shouldn't be an issue, really. As a workaround this is fine, but maybe an XSLT issue? Why was this seen only on Arch?

Dec 23 2019, 2:52 PM · Documentation, Okular
yurchor accepted D26190: Fix man page formatting.

Fine if it works for you. Thanks.

Dec 23 2019, 2:44 PM · Documentation, Okular
arojas requested review of D26190: Fix man page formatting.
Dec 23 2019, 2:40 PM · Documentation, Okular
dfaure planned changes to D26163: Install okularpart into plugins/kf5/parts/, embed JSON metadata.

Thanks for the research and additional information. Indeed in the light of this, this patch has to wait until the KF6 branching. Putting it on hold for now.

Dec 23 2019, 7:58 AM · Okular

Dec 22 2019

kossebau added a comment to D26163: Install okularpart into plugins/kf5/parts/, embed JSON metadata.

Oh, and the Calligra plugins for Okular (edit: when used with the KPart) will also break, as they (edit: desktop files they deploy for that use-case) also have X-KDE-Library=okularpart, given then they also work by being subplugins to the Okular KPart binary, so need to reference it,

Dec 22 2019, 10:42 PM · Okular
kossebau added a comment to D26163: Install okularpart into plugins/kf5/parts/, embed JSON metadata.

At least Kile tries to load the Okular KPart via the binary name and using the constructor of KPluginLoader which only searches in the normal Qt plugin paths, not subdirs, Possibly there are others who copied that code. No idea what to do, besides promoting the use of metadata-based plugin searching...

Dec 22 2019, 10:39 PM · Okular
dfaure updated the diff for D26163: Install okularpart into plugins/kf5/parts/, embed JSON metadata.

In fact, webenginepart and others had a better idea already: plugins/kf5/parts.

Dec 22 2019, 10:03 PM · Okular
dfaure updated the diff for D26163: Install okularpart into plugins/kf5/parts/, embed JSON metadata.

Actually, let's make it plugins/kparts for proper namespacing.

Dec 22 2019, 9:57 PM · Okular
dfaure requested review of D26163: Install okularpart into plugins/kf5/parts/, embed JSON metadata.
Dec 22 2019, 9:22 PM · Okular

Dec 15 2019

simgunz requested changes to D21971: Replace ToolAction by ToggleActionMenu.
Dec 15 2019, 9:59 AM · Okular
simgunz added a comment to D21971: Replace ToolAction by ToggleActionMenu.

It does not compile indeed. My fault in the review process, I missed the last commit. I have added the inline comments to fix the bug.

Dec 15 2019, 9:58 AM · Okular

Dec 12 2019

ngraham added a comment to D21971: Replace ToolAction by ToggleActionMenu.

Needs a rebase for sure

Dec 12 2019, 8:27 AM · Okular

Dec 11 2019

aacid added a comment to D21971: Replace ToolAction by ToggleActionMenu.

Is it me or this thing doesn't compile?

Dec 11 2019, 11:05 PM · Okular

Dec 9 2019

ahmadsamir abandoned D25684: [core/*] replace foreach, deprecated, with range-for.

Created a pull request on invent.kde.org. https://invent.kde.org/kde/okular/merge_requests/73

Dec 9 2019, 11:57 AM · Okular
ahmadsamir added a comment to D25684: [core/*] replace foreach, deprecated, with range-for.

Trying to land this diff I get these errors:

Dec 9 2019, 11:35 AM · Okular

Dec 8 2019

aacid accepted D25684: [core/*] replace foreach, deprecated, with range-for.
Dec 8 2019, 10:27 PM · Okular
ahmadsamir added a comment to D25684: [core/*] replace foreach, deprecated, with range-for.

Ping

Dec 8 2019, 2:08 PM · Okular

Dec 7 2019

simgunz accepted D21971: Replace ToolAction by ToggleActionMenu.

The class has the features needed for both D15580 and D21195 and I do not see evident bugs. For me, this revision is good enough for now, and in case we can fix it later (it used in few places so it should not be hard to adapt the code if needed).

Dec 7 2019, 10:53 AM · Okular

Dec 5 2019

broulik abandoned D23911: Port SearchLineWidget to use KBusyIndicatorWidget.

Moved to GitLab: https://invent.kde.org/kde/okular/merge_requests/71

Dec 5 2019, 10:22 PM · Okular
ngraham added a comment to D21971: Replace ToolAction by ToggleActionMenu.

Sorry, this technical discussion is beyond me. :)

Dec 5 2019, 8:54 PM · Okular
ngraham closed D22118: Shifts focus to the document when collapsing a sidebar view.

This was moved to invent at https://invent.kde.org/kde/okular/merge_requests/22

Dec 5 2019, 8:13 PM · Okular
ahmadsamir updated the diff for D25684: [core/*] replace foreach, deprecated, with range-for.

Rebase.

Dec 5 2019, 10:55 AM · Okular
ahmadsamir added a comment to D25684: [core/*] replace foreach, deprecated, with range-for.

Please rebase your patch on current master, since it will fail to merge properly, i prefer you do the work and not me ^_^

Dec 5 2019, 10:53 AM · Okular

Dec 4 2019

aacid added a comment to D25684: [core/*] replace foreach, deprecated, with range-for.

Please rebase your patch on current master, since it will fail to merge properly, i prefer you do the work and not me ^_^

Dec 4 2019, 10:30 PM · Okular
ahmadsamir added inline comments to D25684: [core/*] replace foreach, deprecated, with range-for.
Dec 4 2019, 5:49 AM · Okular
ahmadsamir updated the diff for D25684: [core/*] replace foreach, deprecated, with range-for.

::distanceSqr() is going to be made const, so qAsConst isn't needed
It's cheaper to copy basic types than reference them
qAsConst isn't needed when iterating over member variable containers in const methods

Dec 4 2019, 5:47 AM · Okular

Dec 3 2019

aacid added a comment to D25684: [core/*] replace foreach, deprecated, with range-for.

Thanks for the patch!

Dec 3 2019, 11:22 PM · Okular
bdbai abandoned D25484: Enable closing a tab by middle click.

Moved to https://invent.kde.org/kde/okular/merge_requests/69 .

Dec 3 2019, 4:21 AM · Okular
ngraham added a comment to D25484: Enable closing a tab by middle click.

Since you've moved it over there, you can Abandon this from the Add Action... menu.

Dec 3 2019, 3:12 AM · Okular
bdbai added a comment to D25484: Enable closing a tab by middle click.

An MR is drafted at invent, see https://invent.kde.org/kde/okular/merge_requests/69 .

Dec 3 2019, 2:01 AM · Okular

Dec 2 2019

steffenh added a comment to D21759: Hold zoom center below center/mouse position.

Yes, I have found this, if okular is build / using new poppler versions, but I don't know why. (poppler version poppler-0.77.0 and poppler-0.62.0 is working)

Dec 2 2019, 6:35 PM · Okular
ngraham added a comment to D21759: Hold zoom center below center/mouse position.

Behaviorally this works great, but visually there's now a big regression: the content itself is no longer visible during the zoom operation; the view blanks out and displays the default white background.

Dec 2 2019, 6:07 PM · Okular
ahmadsamir requested review of D25684: [core/*] replace foreach, deprecated, with range-for.
Dec 2 2019, 2:58 PM · Okular
steffenh updated the diff for D21759: Hold zoom center below center/mouse position.

rebase

Dec 2 2019, 1:28 PM · Okular

Dec 1 2019

yurchor abandoned D25647: Set the default font family for EPub's according to the user preference.

Moved to gitlab.

Dec 1 2019, 7:02 PM · Okular
ngraham added a comment to D25647: Set the default font family for EPub's according to the user preference.

Can you put this on invent instead?

Dec 1 2019, 6:47 PM · Okular
yurchor updated the test plan for D25647: Set the default font family for EPub's according to the user preference.
Dec 1 2019, 10:26 AM · Okular
yurchor requested review of D25647: Set the default font family for EPub's according to the user preference.
Dec 1 2019, 10:23 AM · Okular

Nov 30 2019

yegori added a comment to D25628: FEATURE: 414688 Add support for alternative scrolling method (prototype).

Hey Yegor, I like this idea.

Hi @davidhurka, thank you

Nov 30 2019, 7:21 PM · Okular
davidhurka added a comment to D25628: FEATURE: 414688 Add support for alternative scrolling method (prototype).

Hey Yegor, I like this idea. I’m not sure what you mean with adding visual controls.

Nov 30 2019, 6:25 PM · Okular
yegori updated the summary of D25628: FEATURE: 414688 Add support for alternative scrolling method (prototype).
Nov 30 2019, 6:24 PM · Okular
ndavis added a comment to D25628: FEATURE: 414688 Add support for alternative scrolling method (prototype).

It took me a while to realize what the feature was, but now that I do, I think I would prefer it to the normal method of scrolling. As someone who frequently loses their place while reading, this would help a lot with that.

Nov 30 2019, 3:47 PM · Okular
ndavis added a reviewer for D25628: FEATURE: 414688 Add support for alternative scrolling method (prototype): Okular.
Nov 30 2019, 3:43 PM · Okular
yegori added a reviewer for D25628: FEATURE: 414688 Add support for alternative scrolling method (prototype): VDG.
Nov 30 2019, 2:35 PM · Okular
yegori requested review of D25628: FEATURE: 414688 Add support for alternative scrolling method (prototype).
Nov 30 2019, 2:35 PM · Okular
vkrause closed D25553: Port away from deprecated Bar|Desktop|SmallIcon methods.
Nov 30 2019, 10:04 AM · Okular

Nov 28 2019

aacid accepted D25553: Port away from deprecated Bar|Desktop|SmallIcon methods.
Nov 28 2019, 10:01 PM · Okular
vkrause added a reviewer for D25553: Port away from deprecated Bar|Desktop|SmallIcon methods: aacid.
Nov 28 2019, 6:22 PM · Okular

Nov 27 2019

bdbai updated the diff for D25484: Enable closing a tab by middle click.

Fixed code styles

Nov 27 2019, 12:26 AM · Okular

Nov 26 2019

vkrause added a task to D25553: Port away from deprecated Bar|Desktop|SmallIcon methods: T11654: Deprecate SmallIcon/DesktopIcon/BarIcon/UserIcon/MainBarIcon and KDE::icon in favor of KIconLoader or QIcon API.
Nov 26 2019, 5:57 PM · Okular
vkrause requested review of D25553: Port away from deprecated Bar|Desktop|SmallIcon methods.
Nov 26 2019, 5:57 PM · Okular
ngraham added a comment to D25484: Enable closing a tab by middle click.

Thanks, this looks great. It works just fine and the UI seems sane to me. I have some code comments:

Nov 26 2019, 5:34 PM · Okular
bdbai updated the diff for D25484: Enable closing a tab by middle click.
  • Added "undo tab close"
  • Added a test
Nov 26 2019, 2:05 PM · Okular

Nov 25 2019

ngraham added a comment to D25484: Enable closing a tab by middle click.

I think we can assume that, but check in the code. I don't think we necessarily need to save anything in memory except the URL for the document shown in the closed tab.

Nov 25 2019, 5:39 PM · Okular
bdbai added a comment to D25484: Enable closing a tab by middle click.

Yes this helps the case that @pino brings up, but it handles a different use case. Most of the time a tab won't have unsaved changes because Okular is primarily a reading app. An "Undo last closed tab" feature is for these other cases.

Nov 25 2019, 4:24 PM · Okular
ngraham added a comment to D25484: Enable closing a tab by middle click.
In D25484#566490, @pino wrote:

...

The solution to accidentally clicks is not disabling it by default and making it configurable, but providing the functionality to "restore" a tab after closing it accidentally. Dolphin and Chrome allow me to restore the last closed tab with Ctrl+Shift+T.

And this "solution" does not always work, for example when a page was the result of a form submission, redirection, or other kind of interactivity.

@ngraham In Okular, when a tab with unsaved changes is about to close, the user will be prompted first. Does this help?

Nov 25 2019, 3:05 PM · Okular
bdbai added a comment to D25484: Enable closing a tab by middle click.
In D25484#566490, @pino wrote:

...

The solution to accidentally clicks is not disabling it by default and making it configurable, but providing the functionality to "restore" a tab after closing it accidentally. Dolphin and Chrome allow me to restore the last closed tab with Ctrl+Shift+T.

And this "solution" does not always work, for example when a page was the result of a form submission, redirection, or other kind of interactivity.

Nov 25 2019, 8:16 AM · Okular
ngraham added a comment to D25484: Enable closing a tab by middle click.

The KDE Community is transitioning away from Phabricator and towards GitLab. The transition is not yet complete, which is why the documentation still points you towards Phab. Individual apps--such as Okular--have already made the jump as "early adopters", so to speak.

Nov 25 2019, 5:32 AM · Okular
bdbai added a comment to D25484: Enable closing a tab by middle click.

...
Also please remember to use invent.kde.org and not phabricator for okular merge requests

Nov 25 2019, 1:31 AM · Okular

Nov 24 2019

aacid added a comment to D25484: Enable closing a tab by middle click.

As a sidenote i don't think this makes sense at all, but i don't think allowing tabs in okular makes sense either and i let them in so i'll just say it and then go back to my cave

Nov 24 2019, 9:50 PM · Okular
aacid added a comment to D25484: Enable closing a tab by middle click.

Remember any UI change as this should have it's UI autotest to make sure things don't break in the future.

Nov 24 2019, 9:50 PM · Okular
ngraham added a comment to D25484: Enable closing a tab by middle click.

Undoable tab closing seems totally uncontroversial to me. Web browsers have it, Dolphin has it... It's really just a matter of consistency. On that subject, here's how Dolphin does it:

Nov 24 2019, 6:19 PM · Okular