View Single Post
Old 06-07-2025, 09:03 AM   #49
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,705
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Why ARE we being given a field to paste a value into on this dialog in the first place? Is there ever going to be a time when a user has an entire valid file path on the clipboard to paste in here and save time browsing to images (or other files) they want to add to the epub?

I've already checked and there doesn't seem to be an option to hide such a field, so my question is pretty pointless, but still...

Line 798 of BookBrowser.cpp is producing a wildly invalid file path that might be an obvious spot to head things off:

Code:
 m_LastFolderOpen = QFileInfo(filepaths.first()).absolutePath();
is producing:
Code:
C:/Program Files/Sigil/https:/www.adfg.alaska.gov/static/fishing/images/sport/galleries

Last edited by DiapDealer; 06-07-2025 at 09:10 AM.
DiapDealer is online now   Reply With Quote