Recent documents not logged on Uniy

Asked by monkeybrain2012

Hi,

I have just found qpdfview and think that it is a much better PDF reader than Evince so I switched to it as my default document viewer. But recent documents (dash home) no longer get updated. I am using Unity on Ubuntu 14.04. Is there any solution?

Thanks.

Question information

Language:
English Edit question
Status:
Expired
For:
qpdfview Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Adam Reichold (adamreichold) said :
#1

Hello,

From my research so far, I am not sure what we can do: The recently used documents is managed by Gtk and since we use Qt we can only indirectly activate this API. But for example, since we use the "native" file dialog, documents that are opened using qpdfview's UI should appear in the recently used documents. The part for which I don't have a solution ATM is opening a document through an external program, e.g. your file manager which does trigger an addition to the recently used documents list. I'll continue looking for a proper solution...

Best regards, Adam.

Revision history for this message
Adam Reichold (adamreichold) said :
#2

This might be an open integration issue for Qt-only applications and I have asked on the Qt bug tracker about it: https://bugreports.qt.io/browse/QTBUG-24629

Revision history for this message
monkeybrain2012 (kammon101) said :
#3

Hi, Thanks for looking into it.

If open document thorugh the file manager or qpdfview itself the recent document list get updated and event is registered in ~/.local/share/recently-used-xbel. If search for a document in the dash and click open then list is not updated and event not registered.

I started a thread on the Ubuntu forum http://ubuntuforums.org/showthread.php?t=2264470

qt doesn't seem to be the reason after some experiments (e.g mpv and totem behave in the same way)

Revision history for this message
Adam Reichold (adamreichold) said :
#4

Reading up on the discussion, my first guess for the difference in behaviour of Dash would be that applications whose desktop file indicates that they can open URI (e.g. using %U) receive the recently-used treatment whereas applications that only indicate that they can open files (e.g. using %F) do not? But I am not sure where in the source of Unity and its dependencies I'd have to look for it.

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Adam Reichold (adamreichold) said :
#6

Still looking for a possible explaination of the behaviour...

Revision history for this message
Adam Reichold (adamreichold) said :
#7

Were you able to test whether changing qpdfview's desktop file to use "%U" instead "%F" for the invocation changes anything?

Revision history for this message
monkeybrain2012 (kammon101) said :
#8

Hi,

Changing %F to %U makes no difference.

Revision history for this message
Launchpad Janitor (janitor) said :
#9

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

Revision history for this message
Adam Reichold (adamreichold) said :
#10

Information was provided but state was not updated...

Revision history for this message
Launchpad Janitor (janitor) said :
#11

This question was expired because it remained in the 'Open' state without activity for the last 15 days.