https://bugs.kde.org/show_bug.cgi?id=470750
Bug ID: 470750 Summary: 'View Document' should check for existance of local PDF at keypress, not on list build Classification: Applications Product: KBibTeX Version: git (master) Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: User interface Assignee: fisc...@unix-ag.uni-kl.de Reporter: nobodyinper...@posteo.de Target Milestone: --- SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** When hitting CTRL+D or clicking 'View Document' in the context menu, a local PDF file that has been made available after the search results list has been built is not seen as existing. STEPS TO REPRODUCE 1. Open a KBibTeX file with local PDF documents attached in entries. 2. Delete/Unlink/make-it-a-broken-link linked local PDF file 3. Hit CTRL+D / View Document on an entry with that linked PDF 4. (PDF is not opened, makes sense) 5. Make PDF available again 6. Hit CTRL+D / View Document on an entry with that linked PDF again OBSERVED RESULT PDF is not opened, instead other source like link is opened again EXPECTED RESULT PDF is opened SOFTWARE/OS VERSIONS Manjaro Linux ADDITIONAL INFORMATION I guess the list including the available viewable sources is built at the beginning. I suggest checking for existence of the sources right at the time CTRL+D is pressed or 'View Document' is clicked. I use git-annex (https://git-annex.branchable.com) and having local PDFs available as broken links initially, then fetching them is a common procedure. -- You are receiving this mail because: You are watching all bug changes.