Open AlfredoRamos opened 4 years ago
Thank you for your kind words and your suggestion. Any clever idea on how to achieve that (beside adding one more setting to the setting dialog)?
Two options come to my mind, besides a new setting:
QProcess::processId()
or QProcess::state()
to check that it is opened only once, though I don't know if that would work for Windows too since it doesn't seems to be using QProcess
It has been a while since I used Qt, I'll experiment a little bit.
Thank you for you input.
1) Use QProcess::processId() or QProcess::state() to check that it is opened only once, though I don't know if that would work for Windows too since it doesn't seems to be using QProcess
It would be hard to implement that for every (common?) file browser and operating system...
2) A check box somewhere in the export dialog to disable opening the directory. That dialog which is always opened anyways so a new setting would not be needed.
Those dialogs are the operating system's print dialogs. :grin: I can't modify them.
Hi,
Thanks for this application, I find it very useful.
I would like to disable the option to open the container directory automatically after exporting the note as PDF.
I usually have that directory opened already, so I don't really need the application to open it again.
Besides, if I make a little modification and export again, I need to close it again and It can be a little annoying, even if not done so often.
Expected behaviour
Have an option to disable that behavior.
Actual behaviour
I looked at all the settings options. It seems that it can't be turned off.
https://github.com/pbek/QOwnNotes/blob/b9ae6cb8097a9cc05870a7b83d45c51bdd211285/src/mainwindow.cpp#L7174 https://github.com/pbek/QOwnNotes/blob/b9ae6cb8097a9cc05870a7b83d45c51bdd211285/src/utils/misc.cpp#L137-L179
Steps to reproduce
Output from the debug section in the settings dialog
Expand
QOwnNotes Debug Information =========================== ## General Info **Current Date**: `Sun Jun 14 21:15:24 2020` **Version**: `20.6.5` **Build date**: `Jun 15 2020` **Build number**: `727` **Platform**: `linux` **Operating System**: `Arch Linux` **Build architecture**: `x86_64` **Current architecture**: `x86_64` **Release**: `AUR` **Qt Version (build)**: `5.15.0` **Qt Version (runtime)**: `5.15.0` **Portable mode**: `no` **Settings path / key**: `/home/alfredo/.config/PBE/QOwnNotes.conf` **Application database path**: `/home/alfredo/.local/share/PBE/QOwnNotes/QOwnNotes.sqlite` **Application arguments**: `/usr/bin/QOwnNotes` **Qt Debug**: `0` **Locale (system)**: `en_US` **Locale (interface)**: *empty* **Primary screen resolution**: `1920x1080` **Icon theme**: `breeze` **Notes in current note folder**: `2` **Calendar items**: `0` **Enabled scripts**: `0` ## Server Info **serverUrl**: *empty* **appIsValid**: `no` **notesPathExists**: *empty* **connectionErrorMessage**: *empty* ## Spellchecking **Enabled**: `true` **Selected language**: `auto` **Language codes**: `en_US, en_US-large, es_MX` **Language names**: `American English (United States), American English (United States) [large], español de México (México)` **Application dictionaries path**: `/home/alfredo/.local/share/PBE/QOwnNotes/dicts` ## Note folders **currentNoteFolderId**: `1` ### Note folder `default` **id**: `1` **isCurrent**: `yes` **activeTagId**: `0` **localPath**: `/home/alfredo/Documents/Notes` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `yes` **isUseGit**: `yes` **activeNoteSubFolder name**: *empty* **database file**: `/home/alfredo/Documents/Notes/notes.sqlite` ## Cloud connections ### Cloud connection `Default` **id**: `1` **isCurrent**: `yes` **serverUrl**: *empty* **username**: *empty* ## Enabled scripts ## Settings **AboutDialog/geometry** (QByteArray): `Relevant log output in the Log panel
N/A