This pdf file(10.4MB) shows no text under its thumbnail in Recent View, screenshot below:
It seems problem is related to Title of PDF being an empty string, as seen in the Properties dialog, screenshot below:
My guess would be that code is checking presence of title like title != NULL
while it should also add a check for non empty string e.g. title != NULL && title[0] != '\0'
Alphonse Daudet Chokossa (710543ba) at 09 May 18:49
update:add space
Alphonse Daudet Chokossa (7a92ba81) at 08 May 22:28
Delete org.gnome.Evince.json~
Alphonse Daudet Chokossa (5dcf1cbf) at 08 May 21:19
Merge branch 'bug-pdf-title-in-recent-view-issue' of gitlab.gnome.o...
... and 1 more commit
hi @mchro, thanks for your suggests.
Alphonse Daudet Chokossa (6f506d6a) at 08 May 20:49
Merge branch 'bug-pdf-title-in-recent-view-issue' of gitlab.gnome.o...
... and 1 more commit
Alphonse Daudet Chokossa (7231491c) at 08 May 20:23
Yes, also with this change, the g_strstrip () function will not be ...
As written in ticket # 1587. The recent view doesn't display titles for a document whose title is a string of whitespaces. This has been solved by removing the leading and trailing spaces of the string, if the resulting string is empty, we display the name of the file as the title.>
- I am a first time contributor, please let me know if I made any mistakes !
Closes #1587
Alphonse Daudet Chokossa (39caf76b) at 25 Apr 18:26
Recent view : fix wrong display of PDF with spaces like the title