Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 09-16-2026, 01:02 PM   #16
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,755
Karma: 212493355
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
On Windows, I notice that I cannot immediately cancel crop mode (Esc key) if I happen to click it experimentally. I have to first click somewhere in the image before the Escape key will exit crop mode. Is this by design? It's probably not something I'm going to use very often, so that's fine if it is. I figured it out fairly quickly anyway. Perhaps focus needs to be changed when the crop button is first clicked?

Last edited by DiapDealer; 09-16-2026 at 01:07 PM.
DiapDealer is online now   Reply With Quote
Old 09-16-2026, 01:35 PM   #17
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,044
Karma: 7518950
Join Date: Nov 2009
Device: many
Never noticed that, and it is not by design. You are right it is probably a focus issue of some sort.

We do override KeyPress event in AdjustImage so it should capture all keypresses as long as the cursor is somewhere in the AdjustImage widget anyplace. So the toolbar must somehow be interfering by keeping focus on the just pressed crop button.

Clicking on the exact Image should not be needed.

I will look into it.

Last edited by KevinH; 09-16-2026 at 01:38 PM.
KevinH is offline   Reply With Quote
Advert
Old 09-16-2026, 02:24 PM   #18
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,044
Karma: 3761621
Join Date: Jan 2017
Location: Poland
Device: Various
I confirm this Esc issue.

I see a different issue.
Step by step:
* Open any image – preferably a larger one, such as a cover.
* Zoom out to below 50% (e.g., 30%).
* Now just click the Crop icon.
The default size of the crop selection is calculated based on the image displayed at 100%, so the selection is too large.
Now, when (with the crop selection visible) you start zooming in on the image, you’ll see that the selection eventually appears in its entirety, and at 100% scale, it will cover exactly 1/4 of the image.

I hope you understand what I’m trying to say.
BeckyEbook is online now   Reply With Quote
Old 09-16-2026, 02:26 PM   #19
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,044
Karma: 7518950
Join Date: Nov 2009
Device: many
Yes, by adding an setFocus back to AdjustImage when crop is pressed seems to fix that issue.

I have just pushed this fix to master.

Thanks!


Quote:
Originally Posted by KevinH View Post
Never noticed that, and it is not by design. You are right it is probably a focus issue of some sort.

We do override KeyPress event in AdjustImage so it should capture all keypresses as long as the cursor is somewhere in the AdjustImage widget anyplace. So the toolbar must somehow be interfering by keeping focus on the just pressed crop button.

Clicking on the exact Image should not be needed.

I will look into it.
KevinH is offline   Reply With Quote
Old 09-16-2026, 02:28 PM   #20
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,044
Karma: 7518950
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by BeckyEbook View Post
I confirm this Esc issue.

I see a different issue.
Step by step:
* Open any image – preferably a larger one, such as a cover.
* Zoom out to below 50% (e.g., 30%).
* Now just click the Crop icon.
The default size of the crop selection is calculated based on the image displayed at 100%, so the selection is too large.
Now, when (with the crop selection visible) you start zooming in on the image, you’ll see that the selection eventually appears in its entirety, and at 100% scale, it will cover exactly 1/4 of the image.

I hope you understand what I’m trying to say.


Yes, I have to give the rubberband some initial geometry to work with. Zooming way out may make it too small to see, zooming way in may make it too big or appear outside the viewport.

I am open to suggestions here.

Last edited by KevinH; 09-16-2026 at 02:40 PM.
KevinH is offline   Reply With Quote
Advert
Old 09-16-2026, 02:29 PM   #21
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,044
Karma: 7518950
Join Date: Nov 2009
Device: many
I guess I got that reversed. I will look into scaling the rubbeband geometry by the current scale factor and see if that helps.
KevinH is offline   Reply With Quote
Old 09-16-2026, 02:39 PM   #22
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,044
Karma: 7518950
Join Date: Nov 2009
Device: many
Okay, that seemed to work. I scaled the initial rubberband (selection rectangle) geometry using the scale factor and that seemed to work just fine for a 30% zoom level.

I have pushed that to master.

Cropping when you are way zoomed out is inherently less accurate then cropping at a zoom of 1.0. But I am sure people realize that.

Thanks for the bug report!

Last edited by KevinH; 09-16-2026 at 03:36 PM.
KevinH is offline   Reply With Quote
Old 09-16-2026, 03:20 PM   #23
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,755
Karma: 212493355
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Can confirm that both of the reported issues seem resolved (on Windows --and I assume macOS), now. Thanks!
DiapDealer is online now   Reply With Quote
Old 09-16-2026, 04:01 PM   #24
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,044
Karma: 3761621
Join Date: Jan 2017
Location: Poland
Device: Various
A few more minor issues:
1. If we crop an image, Sigil doesn’t recognize that the file has been modified (no asterisk appears in the application’s title bar).
2. When you zoom in (either from the toolbar above the image or from the Sigil UI in the lower-right corner), the status bar below the image doesn’t refresh automatically; it only updates when you hover the cursor over the image.
3. The third issue is more of an aesthetic one: it could multiply the zoom value by 100 and display it as a percentage. While 0.9625 is understandable, my brain prefers to read it as 96.25% (the parentheses are also unnecessary).
BeckyEbook is online now   Reply With Quote
Old 09-16-2026, 04:08 PM   #25
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,044
Karma: 7518950
Join Date: Nov 2009
Device: many
Until you save that image to disk and exit the ImageEditor, no changes to the book have been made. The file watcher should detect the modifications and properly update Book modified just like it does with Open With when a file is actually saved. If not I will have to update the file watcher in some way or just have the save in an ImageTab directly set Book Modified.

As for the zoom and updating, yes it has always been driven by cursor movement. I will look into updating it after each click on any of the zooms.

Not a fan of percentages here, it is a Zoom factor. And it has always been like that so I would prefer to leave it as is.

Last edited by KevinH; 09-16-2026 at 04:12 PM.
KevinH is offline   Reply With Quote
Old 09-16-2026, 04:10 PM   #26
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,044
Karma: 3761621
Join Date: Jan 2017
Location: Poland
Device: Various
Ad 1. Of course! Just cropping the image doesn't mean we've saved it yet!

Ad 2. OK.

Ad 3. OK.
BeckyEbook is online now   Reply With Quote
Old 09-16-2026, 06:09 PM   #27
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,471
Karma: 182218685
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Old link removed. New compile is available in message#32.

Last edited by DNSB; Yesterday at 06:00 PM.
DNSB is offline   Reply With Quote
Old Yesterday, 08:45 AM   #28
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,044
Karma: 7518950
Join Date: Nov 2009
Device: many
@BeckyEbook,
I was able to recreate the missing modified change by AdjustImage/ImageTab when that image was no longer being watched for "open with". So I modified the code to create a connection via signals from AdjustImage to ImageTab to MainWindows's Book.

That properly set Book Modified even when the Image file was never watched.

I have pushed that change to Sigil master just now.

Next I will work on updating the status bar info after every use of zoom.
KevinH is offline   Reply With Quote
Old Yesterday, 09:18 AM   #29
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,044
Karma: 7518950
Join Date: Nov 2009
Device: many
And I have now pushed changes to update the zoom field in the status bar after every zoom change.

Note: the x,y corrdinates are going to be wonky cause the mouse is actually not inside the Image at all when you are pressing any of the zoom and may not even be inside AdjustImage when using the MainWindow Zoom bar. Not much I can do about that.

So hopefully this fixes things for you.

Thanks!
KevinH is offline   Reply With Quote
Old Yesterday, 10:04 AM   #30
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,044
Karma: 3761621
Join Date: Jan 2017
Location: Poland
Device: Various
I confirm that everything is OK now.
BeckyEbook is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Improvements on notes danielo515 Onyx Boox 1 09-03-2018 08:35 AM
How many 'improvements' do we really need? Fozzybear General Discussions 61 04-15-2012 12:38 PM
Improvements for PRS900 unknownhero Sony Reader 28 05-06-2010 06:29 PM
Most Important Improvements TedPark Sony Reader Dev Corner 4 06-21-2008 11:04 AM


All times are GMT -4. The time now is 02:35 PM.


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