Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-07-04 12:09:55

johnywhy
Member
Registered: 2011-10-09
Posts: 151

File Not Appearing In Recent Documents

hi

i cannot figure out why this file, called "my snippets", is not showing up in panel widget Places > Recent Documents.

places.jpg

any ideas?

thx


Mint 19 xfce, 4.15.0-29-generic #31-Ubuntu SMP, x86_64 x86_64 x86_64 GNU/Linux

Offline

#2 2015-07-04 13:18:16

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,662

Re: File Not Appearing In Recent Documents

Which distro and which version of the plugin are you running?

Is there an entry for your "my snippets" file in the ~/.local/share/recently-used.xbel file?

Offline

#3 2015-07-04 14:22:16

johnywhy
Member
Registered: 2011-10-09
Posts: 151

Re: File Not Appearing In Recent Documents

ToZ wrote:

Which distro

linux mint 17.x rebecca

which version of the plugin are you running?

how to determine? i'm using xfce 4.12

Is there an entry for your "my snippets" file in the ~/.local/share/recently-used.xbel file?

nope

thx


Mint 19 xfce, 4.15.0-29-generic #31-Ubuntu SMP, x86_64 x86_64 x86_64 GNU/Linux

Offline

#4 2015-07-04 19:24:06

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,662

Re: File Not Appearing In Recent Documents

johnywhy wrote:

Is there an entry for your "my snippets" file in the ~/.local/share/recently-used.xbel file?

nope

Do other files that you open up show up in the recent documents?
What application do you use to open that file?
Are you opening that file as your user or as root?

Can you post back the results of:

ls -l ~/.local/share/recently-used.xbel

Offline

#5 2015-07-05 23:43:16

johnywhy
Member
Registered: 2011-10-09
Posts: 151

Re: File Not Appearing In Recent Documents

ToZ wrote:

Do other files that you open up show up in the recent documents?

yes, as shown in the pic.

ToZ wrote:

What application do you use to open that file?

leafpad, or any other text reader.

ToZ wrote:

Are you opening that file as your user or as root?

as me, not root.

ToZ wrote:

Can you post back the results of:

ls -l ~/.local/share/recently-used.xbel

$ ls -l ~/.local/share/recently-used.xbel
-rw------- 1 eggman eggman 14959 Jul  5 12:51 /home/eggman/.local/share/recently-used.xbel

i noticed some other files don't appear in recent menu. Some do, some don't. They are all on the same partition.

thx!


Mint 19 xfce, 4.15.0-29-generic #31-Ubuntu SMP, x86_64 x86_64 x86_64 GNU/Linux

Offline

#6 2015-07-06 00:14:00

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,662

Re: File Not Appearing In Recent Documents

Hmm.
Can you open the "my snippets" file using leafpad (or whatever editor you used) and save it as "my snippets.txt"? Then see if it displays. Maybe its somehow related to recognizing the mime type.

Offline

#7 2015-07-06 01:59:55

johnywhy
Member
Registered: 2011-10-09
Posts: 151

Re: File Not Appearing In Recent Documents

i did your test. Saw same result, with or without the extension.

and some more tests, with some interesting results:

- right-click inside a folder in thunar. Pick "Create > Empty File".
- open the file in your text-reader (leafpad in my case).
- type something, and quit your text-reader, saving the file.
- the file will NOT be found the Places > Recent Documents menu.

- copy a text file from another folder.
- open the copy. type something, and quit your text-reader.
- the file will NOT be found the Places > Recent Documents menu.

- open your text-reader from it's program launcher.
- type something.
- quit, saving the file.
- the file WILL be found the Places > Recent Documents menu.

Last edited by johnywhy (2015-07-06 02:03:35)


Mint 19 xfce, 4.15.0-29-generic #31-Ubuntu SMP, x86_64 x86_64 x86_64 GNU/Linux

Offline

#8 2015-07-06 10:17:47

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,662

Re: File Not Appearing In Recent Documents

While doing these same three tests, can you check whether the file you saved gets listed in the ~/.local/share/recently-used.xbel file?

Offline

#9 2015-07-07 12:15:00

johnywhy
Member
Registered: 2011-10-09
Posts: 151

Re: File Not Appearing In Recent Documents

ToZ wrote:

While doing these same three tests, can you check whether the file you saved gets listed in the ~/.local/share/recently-used.xbel file?

as expected, the only one that gets listed in recently-used.xbel is the one created in leafpad, ie the only one in my test above that shows up in the recent documents menu.

thx


Mint 19 xfce, 4.15.0-29-generic #31-Ubuntu SMP, x86_64 x86_64 x86_64 GNU/Linux

Offline

#10 2015-07-07 15:58:34

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,662

Re: File Not Appearing In Recent Documents

If the file isn't showing up in the recently-used.xbel file, then it won't be displayed by the places plugin.

I just tested leafpad, mousepad and gedit and only leafpad doesn't create an entry in that file for your first two scenarios - the others did. I think the issue is with the text editor that you are using, in this case, leafpad.

Offline

#11 2015-07-07 19:43:51

johnywhy
Member
Registered: 2011-10-09
Posts: 151

Re: File Not Appearing In Recent Documents

reported here

https://bugs.launchpad.net/ubuntu/+sour … ug/1472376
https://bugzilla.xfce.org/show_bug.cgi?id=12050

i could not find a bug tracker for leafpad itself.

thx


Mint 19 xfce, 4.15.0-29-generic #31-Ubuntu SMP, x86_64 x86_64 x86_64 GNU/Linux

Offline

#12 2016-11-01 14:47:58

Sharky
Member
Registered: 2014-08-16
Posts: 23

Re: File Not Appearing In Recent Documents

Hi Toz, others,

Hopefully this is ok to necromance; I've got some more info which will hopefully assist in decrypting this bug.

I have a similar issue. I use mousepad which adds things to recently-used.xbel just fine, including recently-used.xbel itself. However, libreoffice files (xlsx & docx for sure, probably others) aren't added if opened via Thunar nor via the libreoffice menus. HOWEVER: once I extended my list of recents to 25, an docx file was there from yesterday. I opened this in thunar to check it but ALSO attached it onto an email in gmail in Firefox.

My original thought was that recent documents entries would be created when files are opened through a number of ways, including double click in Thunar, and since this wasn't happening for a number of file types, I assumed Thunar was to blame. But maybe it's not handled by Thunar at all and thus the programs themselves are to blame for not creating the 'file opened' notification? I'm feeling in the dark here as I don't know how recently-used.xbel and its friends work.

Similarly jpg files (and presumably others) clicked in thunar and opened in Geeqie don't trigger a recent document entry. BUT, having just checked, attaching the same file to an email in gmail on firefox DOES trigger a recent docs entry.

So:
1. Firefox has it's shizzle together.
2. IDK if Thunar is *supposed* to trigger RD entries. If so, it isn't doing so for various file types. But it's probably not responsible. It seems like
3. The responsibility lies with individual programs and they're not doing it right. Including but (probably) not limited to:
- Geeqie
- LibreOffice
- Leafpad

Taking this forward: Toz/anyone can you corroborate my guesswork on how this process is supposed to work? Is there documentation for what programs are supposed to do to trigger RD / recently-used.xbel entries? Can this thread serve as a working doc / megathread for people to post programs which aren't working, with a view to reporting as bugs in the relevant places, with a standard explanation and instructions to developers for how to remedy it?

Offline

#13 2018-07-30 19:43:30

johnywhy
Member
Registered: 2011-10-09
Posts: 151

Re: File Not Appearing In Recent Documents

Sharky wrote:

Taking this forward: Toz/anyone can you corroborate my guesswork

not a necropost if it's still a bug, which it still is.
Plz add your comments here:

https://bugs.launchpad.net/ubuntu/+sour … ug/1472376

https://bugzilla.xfce.org/show_bug.cgi?id=12050


Mint 19 xfce, 4.15.0-29-generic #31-Ubuntu SMP, x86_64 x86_64 x86_64 GNU/Linux

Offline

Board footer

Powered by FluxBB