![]() |
#1 |
Obsessively Dedicated...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,209
Karma: 34984330
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
|
Questions about Sigil INI
I am on Windows 8.1.
I am using an old PortableApps version 8.6, so I don't know if these issues are due to the PortableApps wrapper, or to the age of the Sigil app. I have problems getting the INI to retain my setting for Code View Font-- although my preferred font Monaco is installed in the Windows font folder, it does not appear in the GUI font selection list (which I don't understand, as other "non-standard" fonts do appear in the list). So with Sigil closed, I edit the INI manually. But it would frequently revert to default Courier. I discovered several months ago, that any changes to preferences in the GUI, such as changing the Pretty Print settings, or selecting a different spell-check dictionary, would reset the Code View Font automatically. So now I just manually edit again. But last night I had a new experience --- Notepad froze while loading the INI, and no wonder! It had grown to over 6 MB! When I finally got it open, it seems that it was storing a ton of clipboard history. This history looked like several sessions worth of info. I deleted manually, opened Sigil again, and did some more editing. When I shut down, yup, new clipboard history was stored in the INI, which stood at 1.6 MB. I don't know if the INI has always stored clipboard history this way, or if I have something strange going on with my portable app. Any advice for granny? Last edited by GrannyGrump; 07-30-2017 at 11:35 PM. |
![]() |
![]() |
![]() |
#2 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,687
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
IMHO, the built-in clipboard manager should be an opt-in feature that can be be disabled via a preference setting and the clipboard history should be saved in a separate .ini file, preferably obfuscated or encrypted. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,491
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Or in newer versions of Sigil simply delete your clipboard history you do not want using the delete key in the gui
|
![]() |
![]() |
![]() |
#4 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,635
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() ![]() IIRC I raised this back in 2011/12-ish, the response must have been -ve because the issue remains. I have a set of global clipboard tools that work in all the applications I use. The only application specific clipboard tool I value is the Autocopy browser extension. I've also noticed that Sigil puts things that I copy in other applications into its clipboard history, this exacerbates the privacy issue. BR |
|
![]() |
![]() |
![]() |
#5 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,635
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,687
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,373
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Ctrl+Alt+V
Edit->Edit/Paste From Clipboard History You can highlight entries and hit the delete key and then save your changes. That is why the clipboard history is being saved to the INI in the first place: the ability to paste previous clipboard contents into documents across Sigil Sessions. I'm neither supporting the feature nor condemning it ... merely explaining it. |
![]() |
![]() |
![]() |
#8 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,635
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Ah-ah - looked there but...
If I have NOT copied anything to the clipboard since I started Sigil, I don't see anything, only after I copy something when Sigil is running do I see anything. That is, if I start Sigil and go to Edit->Edit/Paste From Clipboard History... I see nothing at all (i.e. no dialogue box - no message, no anything). If I then go into another application such a Firefox and select some text and copy it. And now I go back to Sigil and select Edit->Edit/Paste From Clipboard History... then I see all the history, including the whatever I just copied in Firefox and whatever else found its way into the ini file in the past. If an opt-out is hard to do, how about an empty clipboard history on exit setting? BR |
![]() |
![]() |
![]() |
#9 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,491
Karma: 5703586
Join Date: Nov 2009
Device: many
|
FYI, due to a horrible bug in how Qt works on Linux's with its strange clipboard, when something is active on the clipboard copied from outside Sigil, we have had to add a workaround for Linux that gives Sigil ownership of that clipboard. This will impact the history but only on Linux.
So editing your clipboard history is now be easier, at least in newer versions of Sigil (not sure which version I added that feature to). KevinH |
![]() |
![]() |
![]() |
#10 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,491
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Are you using Windows or Linux? On a Mac, that dialog is always properly populated. I can add something to make sure the ini file clipboard history is read fully if that dialog is ever opened specific to your platform. If users want to clean it on exit then do so manually. I want to keep my history around and usable.
|
![]() |
![]() |
![]() |
#11 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,635
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Windows 10 Pro 64 bit v 1703 and Sigil 64 bit 0.9.8
I don't particularly want to edit the history manually within Sigil. As it is, my monthly computer housekeeping check-list already has as one of its items - Remove Sigil clipboard history (I edit sigil.ini) If we can't have an opt-out, or a clear on exit setting, is there somewhere we can set Sigil's clipboard ring size to zero ? BR Last edited by BetterRed; 07-31-2017 at 08:47 AM. Reason: clarity |
![]() |
![]() |
![]() |
#12 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,373
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'd be happy to look into the feasibility of a user opt-out (for saving the clipboard to the INI file). No guarantees it's within my abilities, though. I certainly don't want to break the current functionality for those who DO find it useful.
|
![]() |
![]() |
![]() |
#13 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,687
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
While you're at it, could you also remove the monospaced fonts filter from the Code View default font drop-down box? This would save GrannyGrump (and others) the hassle of having to edit sigil.ini to change the default Code View font. |
||
![]() |
![]() |
![]() |
#14 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,373
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'll look at it after I suss the ramifications of the clipboard-saving opt-out. But with all due respect to Granny, I would think the number of people who might voluntarily choose a variable-width font for a code editor is even smaller than the number of people who see saving the clipboard contents to the INI file as a problem that needs fixing. *shrug*
Last edited by DiapDealer; 08-01-2017 at 02:43 AM. |
![]() |
![]() |
![]() |
#15 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,491
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Yes, monospaced fonts are very standard for Code editors and required for indentation/line numbers/prettyprint to generate anything reasonable. So I am not in favour of changing that filter. There are now a large number of good monospaced fonts to choose from. There must be one GrannyGrump could use.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
questions about Sigil plugins | Gregg Bell | Sigil | 4 | 02-05-2017 08:04 PM |
Sigil metadata code questions | authorava | Sigil | 2 | 01-24-2017 03:21 PM |
Science Fiction Voß, Julius von: Ini. V2 [German] 14.1.2018 | brucewelch | ePub Books | 0 | 04-20-2016 08:43 AM |
how to modify netfront.ini ? | plusorama | Kindle Developer's Corner | 1 | 03-07-2011 11:48 AM |
LBook Firmware ini files | sein | Astak EZReader | 17 | 06-05-2010 08:49 AM |