Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 06-02-2026, 02:05 AM   #31
BeckyEbook
Wizard
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 1,038
Karma: 3761621
Join Date: Jan 2017
Location: Poland
Device: Various
OK. I'll look into it.
BeckyEbook is online now   Reply With Quote
Old 06-02-2026, 08:07 AM   #32
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: 29,746
Karma: 212474403
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Interestingly enough, it seems to be only the setting of SIGIL_PREVIEW_TIMEOUT that prevents the Save button from working correctly. I tried the other variables that took user input and they worked fine for me.
DiapDealer is offline   Reply With Quote
Old 06-02-2026, 11:01 AM   #33
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,029
Karma: 7518950
Join Date: Nov 2009
Device: many
In case this helps, I changed your use of "try:" to catch a ValueError to instead catch all Exceptions and print out the exceptions error message and I get the following errors when trying to change the Preview Timeout and then save:

Code:
Traceback (most recent call last):
  File "/Users/kbhend/Library/Application Support/sigil-ebook/sigil/plugins/EnvVarEditor/plugin.py", line 849, in on_accept
    values = self.get_values()
  File "/Users/kbhend/Library/Application Support/sigil-ebook/sigil/plugins/EnvVarEditor/plugin.py", line 790, in get_values
    if w.value() != default_val:
                    ^^^^^^^^^^^
NameError: name 'default_val' is not defined
Hope this helps.
KevinH is offline   Reply With Quote
Old 06-02-2026, 11:08 AM   #34
BeckyEbook
Wizard
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 1,038
Karma: 3761621
Join Date: Jan 2017
Location: Poland
Device: Various
Sure. Thanks!
I'll test it and prepare a fix.
BeckyEbook is online now   Reply With Quote
Old 06-02-2026, 11:13 AM   #35
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,029
Karma: 7518950
Join Date: Nov 2009
Device: many
Yes, if I comment that line out, then it all works. But that makes it an exact dupilcate of the next elif. I think only the first int handling elif will ever be used not the next.
KevinH is offline   Reply With Quote
Old 06-02-2026, 08:58 PM   #36
BeckyEbook
Wizard
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 1,038
Karma: 3761621
Join Date: Jan 2017
Location: Poland
Device: Various
It was indeed unnecessary to have two versions of elif (the old and the new). Thanks.
I've prepared a revised beta version; it's in the second post.
BeckyEbook is online now   Reply With Quote
Old 06-14-2026, 04:27 AM   #37
jugaor
Connoisseur
jugaor for a long time would go to bed early.jugaor for a long time would go to bed early.jugaor for a long time would go to bed early.jugaor for a long time would go to bed early.jugaor for a long time would go to bed early.jugaor for a long time would go to bed early.jugaor for a long time would go to bed early.jugaor for a long time would go to bed early.jugaor for a long time would go to bed early.jugaor for a long time would go to bed early.jugaor for a long time would go to bed early.
 
jugaor's Avatar
 
Posts: 58
Karma: 17648
Join Date: Jun 2011
Location: Lima, Peru
Device: Kindle 10Gen / Kobo Aura HD / Nook STR
Quote:
Originally Posted by BeckyEbook View Post
It was indeed unnecessary to have two versions of elif (the old and the new). Thanks.
I've prepared a revised beta version; it's in the second post.
BeckyEbook, sorry for the delay. This new version works perfectly.

Thank you very much!!
jugaor is offline   Reply With Quote
Old 06-14-2026, 11:01 AM   #38
BeckyEbook
Wizard
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 1,038
Karma: 3761621
Join Date: Jan 2017
Location: Poland
Device: Various
Thank you for the confirmation.

The plugin hasn't received much feedback, which is why I'm still keeping it in beta. If I don't receive any bug reports for a while, I'll release a stable version.
BeckyEbook is online now   Reply With Quote
Old 09-15-2026, 05:46 AM   #39
philja
Evangelist
philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!
 
Posts: 427
Karma: 100100
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Following my problem with the python function replace, I used this plugin to make use of the SIGIL_FUNCTION_REPLACE_LOGFILE.

My difficulty with this plugin is that its dialog window is not resizable enough especially on the width. The result is that the Set/Unset/Not Set column is truncated in width.

But the most difficulty comes in checking the full path of the logfile. This is no doubt down to the display settings on my desktop machines, Linux and Windows11. The MacBook was a little better but not perfect.

See the attached screenshot (Linux).

I had some initial problem getting the logfile to work and that was down to the specification of the full path. Even clicking in the file name box and using the right arrow, I can't get to the end of the filename. The only way to check was to use CtrlA to select all and then CtrlC and CtrlV in a text editor to see the full path and logfile name.

Can this dialog window have its max width extended somewhat?
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20260915_112050.png
Views:	14
Size:	226.0 KB
ID:	225960  
philja is offline   Reply With Quote
Old 09-15-2026, 06:05 AM   #40
BeckyEbook
Wizard
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 1,038
Karma: 3761621
Join Date: Jan 2017
Location: Poland
Device: Various
I'll look into it.

EDIT: I've released version 0.1.18 beta.
Although I haven't tested it on Linux, I hope it will work fine.

Thank you for reporting the bug.

Last edited by BeckyEbook; 09-15-2026 at 08:22 AM.
BeckyEbook is online now   Reply With Quote
Old 09-15-2026, 11:00 AM   #41
philja
Evangelist
philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!
 
Posts: 427
Karma: 100100
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Quote:
Originally Posted by BeckyEbook View Post
I'll look into it.

EDIT: I've released version 0.1.18 beta.
Although I haven't tested it on Linux, I hope it will work fine.

Thank you for reporting the bug.
Thanks, Becky. I've tested on all three of my OS and it's greatly improved.

On linux, I can now click in the filename box and left or right arrow to either end.

If you want to 'prettify' a bit, the Set/Unset/Not Set box is a little destitute.

BUT, it is entirely and easily usable now.

See attached screenshot from the LInux OS.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20260915_164227.png
Views:	13
Size:	172.2 KB
ID:	225964  
philja is offline   Reply With Quote
Old 09-15-2026, 03:17 PM   #42
BeckyEbook
Wizard
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 1,038
Karma: 3761621
Join Date: Jan 2017
Location: Poland
Device: Various
Thank you for your additional feedback.
I appreciate it when you point out specific issues; I've done my best to fix them.

I've released version 0.1.19 beta.
BeckyEbook is online now   Reply With Quote
Old 09-15-2026, 05:31 PM   #43
philja
Evangelist
philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!
 
Posts: 427
Karma: 100100
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Quote:
Originally Posted by BeckyEbook View Post
Thank you for your additional feedback.
I appreciate it when you point out specific issues; I've done my best to fix them.

I've released version 0.1.19 beta.
Hi Becky - I've upgraded the plugin on my three machines. The Linux display is now perfect. So is the MacBook.

The Windows 11 display is quite usable with the filename field showing the complete path. The Set/Unset/Not Set box is still a little narrow.

See the attached screenshots for Linux and Windows 11 - they are both displayed on the same desktop screen - just the drivers are different.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_Linux.png
Views:	15
Size:	181.5 KB
ID:	225974   Click image for larger version

Name:	Screenshot-Windows11.png
Views:	14
Size:	89.7 KB
ID:	225975  
philja is offline   Reply With Quote
Old 09-15-2026, 05:43 PM   #44
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 54,455
Karma: 182204987
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I upgraded to 0.1.19 and the Windows 11 display looks okay here. This is with the window at it's minimum width. I can increase the windows size but really only need the vertical stretch.,
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2026-09-15 144226.png
Views:	14
Size:	121.8 KB
ID:	225976   Click image for larger version

Name:	Screenshot 2026-09-15 144822.png
Views:	13
Size:	152.3 KB
ID:	225978  

Last edited by DNSB; 09-15-2026 at 05:49 PM. Reason: Added 2nd image
DNSB is offline   Reply With Quote
Old Yesterday, 07:17 PM   #45
BeckyEbook
Wizard
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 1,038
Karma: 3761621
Join Date: Jan 2017
Location: Poland
Device: Various
Thank you for the feedback.
Previously, horizontal window resizing was disabled, so it will now be enabled, especially for users who have the interface zoomed in (125%, 150%, 200%) and have exceptionally long file paths.

I’ve prepared version 0.1.20 and am looking forward to user testing.
BeckyEbook is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil Qt6 and GUI plugin development changes DiapDealer Plugins 26 11-16-2023 11:12 AM
[Plugin] SelfCSS for Sigil WYSIWYG CSS editor byword Plugins 5 08-30-2023 09:44 AM
QT scaling - Ways to change Environment Variables in Windows Comfy.n Calibre 4 08-11-2022 11:20 PM
[GUI Plugin] Save Virtual Libraries To Column (GUI) chaley Plugins 14 04-04-2021 05:25 AM
[Editor Plugin] - Enabling 'Customize plugin' dialog directly from the Editor thiago.eec Development 7 01-09-2019 08:05 PM


All times are GMT -4. The time now is 05:28 AM.


MobileRead.com is a privately owned, operated and funded community.