Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-18-2024, 11:04 AM   #31
wildfire070
Enthusiast
wildfire070 began at the beginning.
 
Posts: 40
Karma: 10
Join Date: May 2012
Device: Kindle Oasis, Scribe, Paperwhite // Boox Palma
Quote:
Originally Posted by KevinH View Post
Okay, I just read that newer Qt disables the Tab to shift focus feature on macOS unless the macOS User has enabled it in their System Settings.

So exit completely out of Sigil.

Then go to your MacOS System Settings -> Keyboard Then look for "Keyboard Navigation" and turn it on using the slide button on the far right.

This will allow you to use Tab and Shift-Tab to move focus forward and back on macOS across the buttons using just the tab key.

This will save you from having to use the mouse to click on the Yes button until a new version is released.

Just tested this on my mac and it works just fine.
Thank you for that! Got it enabled and working now.
wildfire070 is offline   Reply With Quote
Old 06-19-2024, 10:48 AM   #32
repilo
Connoisseur
repilo began at the beginning.
 
Posts: 68
Karma: 10
Join Date: Apr 2021
Location: Spain
Device: Kobo Libra 2
First of all I want to thank you for your generosity. And now I would like to comment on two small problems, not to complain but to collaborate, that I have found using the new version (with Windows 10).

1. If I close Sigil with a window width smaller than a certain size, when I open it again it appears with a certain width larger. There seems to be a minimum initial width, about two thirds of my screen width, in my case.

2. One thing I could do before and now it doesn't work:
Select a text, for example "ALBERT EINSTEIN" (quotation marks not included).
Click the button [Aa]->Ab Titlecase. The text is converted to "Albert Einstein" and remains selected.
Now I click on a custom button of mine that applies the following to the selection:
Code:
<span class="small-caps">\1</span>
and nothing happens. Also nothing happens if I click on the [B], or [I] buttons.
What I mean is that with the previous version, the span defined in the custom button, or the bold, or the italic, was applied to the selected text.
repilo is offline   Reply With Quote
Advert
Old 06-19-2024, 11:10 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: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
1. Yes, the Find and Replace Window determines the minimum width of the CodeView window (even when hidden). The scroll bars and title of the other Windows determine their minimum width. Just opening a new epub with a different title can change the layout.
So that is expected behaviour. If Sigil takes up too much space on your screen, try either hiding the dockwidgets you do not need or use fast virtual desktop switching.

2. I will test this on my machine. But there was no code change in Sigil since the previous version related to this. I assume by "custom button" you mean an icon on your clips bar?
KevinH is offline   Reply With Quote
Old 06-19-2024, 11:29 AM   #34
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: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Okay, for your pt 2., I can recreate it. The Change-Case ToolButton (and the Heading ToolButton) both use pull down menus, but even after selecting and applying the pulldown menu item and releasing, it is not returning focus control back to CodeView where it belongs. This must be an internal Qt issue. And without focus, trying to apply the clip causes the Sigil status bar at the bottom left to indicate that you need to select where to paste into first.

You should see that status message as well, but maybe did not notice it.

I will look into why after selecting the menu item that QToolButton did not return focus properly.
KevinH is offline   Reply With Quote
Old 06-19-2024, 11:59 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: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
@repilo

Okay, I tracked this one down to a side-effect from a bug fix where those same QToolButtons with Menus were inserting themselves in the tab focus chain. I turned them from default TabFocus to ClickFocus but should have made all of them NoFocus.

I have fixed this bug now and pushed the fix to master.
This fix will be part of the next release.

Thank you for your bug report.
KevinH is offline   Reply With Quote
Advert
Old 06-19-2024, 06:12 PM   #36
repilo
Connoisseur
repilo began at the beginning.
 
Posts: 68
Karma: 10
Join Date: Apr 2021
Location: Spain
Device: Kobo Libra 2
Quote:
Originally Posted by KevinH View Post
1. Yes, the Find and Replace Window determines the minimum width of the CodeView window (even when hidden). The scroll bars and title of the other Windows determine their minimum width. Just opening a new epub with a different title can change the layout.
So that is expected behaviour.
Thank you KevinH.
I think I didn't explain myself well in what I called point 1.
It is difficult for me to explain myself in English. Sorry about that.
Forget what I said about the minimum width. I'll say it another way.

I usually have Sigil on the left side occupying about 2/3 of the screen, so that I can have the Calibre book viewer on the remaining 1/3 of the screen on the right. I do this way because when I edit an epub in my language, I want to have the ebook in its original language visible on the right side.
I've been doing it this way for years, but with this version something happens that didn't happen before, and that's why I'm telling you about it.
I drag the right edge of Sigil to the left so that it doesn't overlap with the Calibre ebook viewer: no problem, everything is ok.
But when I close Sigil and open it again, it doesn't remember the previously established width: I have to drag the right edge to the left again.

This "lack of memory" only happens if I adjust the right border to the left beyond a certain point (I would say about 2/3 of my screen), beyond which Sigil always returns to a certain width when closed and reopened.

This did not happen in previous versions.
Sorry for the long explanation.
repilo is offline   Reply With Quote
Old 06-19-2024, 08:06 PM   #37
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: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
We have changed nothing to do with Window positioning since our last release. Could the available screen geometry or dpi of your monitor have changed? Could you have updated or changed video drivers? Could Windows itself have updated something?

Sorry but I am not seeing this behaviour on macOS unless I try to shrink the Sigil Main Window too small.

Perhaps someone on Windows can try to recreate what you are seeing and report back the exact steps to recreate this.
KevinH is offline   Reply With Quote
Old 06-19-2024, 09:02 PM   #38
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,225
Karma: 19000635
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Yes, I am able to get it to duplicate on Windows 11 Pro (22631.3737)....this is with the previous version of Sigil (2.1.0 - QT 6.6.2) so it may not be a NEW issue. My monitor is 3840x2160 with 150% scale on nvidia 3090 and the latest driver.

- I minimized the width of both left and right docked panes...drug them to their smallest width while still displaying them just to make sure they weren't playing a role in this.

- I grabbed the right edge of the Sigil window and dragged it to the left until it was at it's narrowest allowed; it wouldn't let me go any narrower. I think this was, as you mentioned, limited by the size of the F/R pane. I took a screenshot showing where the right edge of the Sigil window lined up on the explorer window behind it...just to the left of "EPUB" in the file type column. I also had calibre reader open on the right side of the screen.

Click image for larger version

Name:	Screenshot 2024-06-19 192626.jpg
Views:	458
Size:	766.8 KB
ID:	209042

I saved the file and closed Sigil. Here is the first portion of the sigil_v6.ini file:

Spoiler:
Code:
[bookbrowser]
lastfolderopen=C:/Users/Dion/Desktop
lastfoldersaveas=C:/Users/Dion/Desktop

[find_replace]
find_strings=<hr, (.*?)</head>, "<p></p>

  <p class=\"scrivener25\">[_]{2,}</p>

  <p></p>

  <p class=\"scrivener21\"><span class=\"scrivener22\">(.*?)</span>", "</h3>

  <p class=\"scrivener21\"><span class=\"scrivener22\">(.*?)</span>", "<body>

  <p class=\"scrivener18\"><span class=\"scrivener19\">(.)(.*?)</span></p>

  <p></p>", "<body>

  <p class=\"scrivener18\"><span class=\"scrivener19\" id=\".*?\">(.)(.*?)</span></p>

  <p></p>", <body>\\s*<p></p>, "<p class=\"scrivener(\\d+)\">*</p>", "<p class=\"scrivener23\">", "<span class=\"scrivener24\">(.*?)</span>", <span>(.*?)</span>, " class=\"(.*?)\"", <body (.*?)>, "<em> ", " </em>", "<hr class=\"ChDiv\" />
<p class=\"scrivener6\"><span class=\"scrivener16\">(.*?)</span>", "</h3>
<p class=\"scrivener6\"><span class=\"scrivener16\">(.*?)</span>", "<p></p>
<p class=\"scrivener19\"><span class=\"scrivener20\">__________</span></p>
<p></p>", "<p></p>
<p></p>
<p class=\"scrivener14\"><span class=\"scrivener15\">(.)(.*?)</span></p>
<p></p>", "<p class=\"scrivener17\">", "<span class=\"scrivener18\">(.*?)</span>", "<p class=\".*?\">*</p>", "<body class=\"(.*?)\">", __, _
replace_strings="<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"\n  \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n  <title>New World</title>\n  <link href=\"../Styles/stylesheet.css\" type=\"text/css\" rel=\"stylesheet\"/>\n</head>", "<hr class=\"ChDiv\" />
<p>\\1", "</h3>
<p class=\"first\">\\1", <body>\\n\\n<h3>\\1\\L\\2\\E</h3>, <body>, <p></p>, <p>, <em>\\1</em>, \\1, , "<body> ", "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"\n  \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n  <title>New Threat</title>\n  <link href=\"../Styles/styles.css\" type=\"text/css\" rel=\"stylesheet\"/>\n</head>", "</em> ", "<hr class=\"ChDiv\" />", <h3>\\1\\L\\2\\E</h3>, "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"\n  \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n  <title>The Event</title>\n  <link href=\"../Styles/styles.css\" type=\"text/css\" rel=\"stylesheet\"/>\n</head>", "<h3>\\1\\L\\2\\E</h3>\\n\\n<p class=\"first\">\\3\\4</p>", "<hr class=\"ChDiv\" />\\n\\n<p>\\1", <p>\\1</p>, …, "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"\n  \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n  <title>Fortuna</title>\n  <link href=\"../Styles/styles.css\" type=\"text/css\" rel=\"stylesheet\"/>\n</head>", "<h3>\\1</h3>\\n\\n<p class=\"first\">", "<hr class=\"ChDiv\" />\\n\\n<p>", "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"\n  \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n  <title>Talbot</title>\n  <link href=\"../Styles/styles.css\" type=\"text/css\" rel=\"stylesheet\"/>\n</head>", " class=\"subtit\""
search_mode=2
look_where=1
search_direction=0
regexoptiondotall=true
regexoptionminimalmatch=false
regexoptionautotokenise=false
optionwrap=true
visible=true
regexoptiontextonly=false

[inspect_dialog]
geometry="@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\x1\0\0\0\x1f\0\0\x3\x11\0\0\x4;\0\0\0\x1\0\0\0\x1f\0\0\x3\x11\0\0\x4;\0\0\0\0\0\0\0\0\n\0\0\0\0\x1\0\0\0\x1f\0\0\x3\x11\0\0\x4;)"

[mainwindow]
maximized=false
fullscreen=false
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\x3\0\0\0\0\0\0\x3\xd5\0\0\x5\x9d\0\0\0\x3\0\0\0\x1e\0\0\x3\xd5\0\0\x5\x9d\0\0\0\0\0\0\0\0\n\0\0\0\0\x3\0\0\0\x1e\0\0\x3\xd5\0\0\x5\x9d)
toolbars=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x3\0\0\0\0\0\0\0P\0\0\x4\xfb\xfc\x2\0\0\0\x1\xfb\0\0\0\x16\0\x62\0o\0o\0k\0\x62\0r\0o\0w\0s\0\x65\0r\x1\0\0\0j\0\0\x4\xfb\0\0\0_\0\xff\xff\xff\0\0\0\x1\0\0\0y\0\0\x4\xfb\xfc\x2\0\0\0\x1\xfc\0\0\0j\0\0\x4\xfb\0\0\0w\x1\0\0\x17\xfa\0\0\0\0\x1\0\0\0\x3\xfb\0\0\0\x1a\0p\0r\0\x65\0v\0i\0\x65\0w\0w\0i\0n\0\x64\0o\0w\x1\0\0\0\0\xff\xff\xff\xff\0\0\0L\0\xff\xff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2\0\0\0\0)


I then reopened Sigil and the entire Sigil Window was wider than it was when Sigil was closed. Here is another screenshot showing that the window is wider, as well as the ini file after closing Sigil again. I don't think either of the dockable panes on the sides changes size, I think it was just the CV pane.


Click image for larger version

Name:	Screenshot 2024-06-19 192754.jpg
Views:	494
Size:	780.6 KB
ID:	209043

Spoiler:
Code:
[bookbrowser]
lastfolderopen=C:/Users/Dion/Desktop
lastfoldersaveas=C:/Users/Dion/Desktop

[find_replace]
find_strings=<hr, (.*?)</head>, "<p></p>

  <p class=\"scrivener25\">[_]{2,}</p>

  <p></p>

  <p class=\"scrivener21\"><span class=\"scrivener22\">(.*?)</span>", "</h3>

  <p class=\"scrivener21\"><span class=\"scrivener22\">(.*?)</span>", "<body>

  <p class=\"scrivener18\"><span class=\"scrivener19\">(.)(.*?)</span></p>

  <p></p>", "<body>

  <p class=\"scrivener18\"><span class=\"scrivener19\" id=\".*?\">(.)(.*?)</span></p>

  <p></p>", <body>\\s*<p></p>, "<p class=\"scrivener(\\d+)\">*</p>", "<p class=\"scrivener23\">", "<span class=\"scrivener24\">(.*?)</span>", <span>(.*?)</span>, " class=\"(.*?)\"", <body (.*?)>, "<em> ", " </em>", "<hr class=\"ChDiv\" />
<p class=\"scrivener6\"><span class=\"scrivener16\">(.*?)</span>", "</h3>
<p class=\"scrivener6\"><span class=\"scrivener16\">(.*?)</span>", "<p></p>
<p class=\"scrivener19\"><span class=\"scrivener20\">__________</span></p>
<p></p>", "<p></p>
<p></p>
<p class=\"scrivener14\"><span class=\"scrivener15\">(.)(.*?)</span></p>
<p></p>", "<p class=\"scrivener17\">", "<span class=\"scrivener18\">(.*?)</span>", "<p class=\".*?\">*</p>", "<body class=\"(.*?)\">", __, _
replace_strings="<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"\n  \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n  <title>New World</title>\n  <link href=\"../Styles/stylesheet.css\" type=\"text/css\" rel=\"stylesheet\"/>\n</head>", "<hr class=\"ChDiv\" />
<p>\\1", "</h3>
<p class=\"first\">\\1", <body>\\n\\n<h3>\\1\\L\\2\\E</h3>, <body>, <p></p>, <p>, <em>\\1</em>, \\1, , "<body> ", "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"\n  \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n  <title>New Threat</title>\n  <link href=\"../Styles/styles.css\" type=\"text/css\" rel=\"stylesheet\"/>\n</head>", "</em> ", "<hr class=\"ChDiv\" />", <h3>\\1\\L\\2\\E</h3>, "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"\n  \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n  <title>The Event</title>\n  <link href=\"../Styles/styles.css\" type=\"text/css\" rel=\"stylesheet\"/>\n</head>", "<h3>\\1\\L\\2\\E</h3>\\n\\n<p class=\"first\">\\3\\4</p>", "<hr class=\"ChDiv\" />\\n\\n<p>\\1", <p>\\1</p>, …, "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"\n  \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n  <title>Fortuna</title>\n  <link href=\"../Styles/styles.css\" type=\"text/css\" rel=\"stylesheet\"/>\n</head>", "<h3>\\1</h3>\\n\\n<p class=\"first\">", "<hr class=\"ChDiv\" />\\n\\n<p>", "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"\n  \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n  <title>Talbot</title>\n  <link href=\"../Styles/styles.css\" type=\"text/css\" rel=\"stylesheet\"/>\n</head>", " class=\"subtit\""
search_mode=2
look_where=1
search_direction=0
regexoptiondotall=true
regexoptionminimalmatch=false
regexoptionautotokenise=false
optionwrap=true
visible=true
regexoptiontextonly=false

[inspect_dialog]
geometry="@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\x1\0\0\0\x1f\0\0\x3\x11\0\0\x4;\0\0\0\x1\0\0\0\x1f\0\0\x3\x11\0\0\x4;\0\0\0\0\0\0\0\0\n\0\0\0\0\x1\0\0\0\x1f\0\0\x3\x11\0\0\x4;)"

[mainwindow]
maximized=false
fullscreen=false
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\x3\0\0\0\0\0\0\x4\xc2\0\0\x5\x9d\0\0\0\x3\0\0\0\x1e\0\0\x4\xc2\0\0\x5\x9d\0\0\0\0\0\0\0\0\n\0\0\0\0\x3\0\0\0\x1e\0\0\x4\xc2\0\0\x5\x9d)
toolbars=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x3\0\0\0\0\0\0\0P\0\0\x4\xfb\xfc\x2\0\0\0\x1\xfb\0\0\0\x16\0\x62\0o\0o\0k\0\x62\0r\0o\0w\0s\0\x65\0r\x1\0\0\0j\0\0\x4\xfb\0\0\0_\0\xff\xff\xff\0\0\0\x1\0\0\0y\0\0\x4\xfb\xfc\x2\0\0\0\x1\xfc\0\0\0j\0\0\x4\xfb\0\0\0w\x1\0\0\x17\xfa\0\0\0\0\x1\0\0\0\x3\xfb\0\0\0\x1a\0p\0r\0\x65\0v\0i\0\x65\0w\0w\0i\0n\0\x64\0o\0w\x1\0\0\0\0\xff\xff\xff\xff\0\0\0L\0\xff\xff\xff\xfb\0\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)
Turtle91 is offline   Reply With Quote
Old 06-19-2024, 09:10 PM   #39
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: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Yes this is what happens when you try to make Sigil too small. It will adjust to its preferred minimum size. Again there is a minimum here because the Find and Replace Window has a minimum width.

I just tried with Sigil 2.1.0 on macOS. Same thing.

To repeat. This is not a bug, it is instead expected behaviour. In fact depending on OS window tiling systems and third party window layout controllers (like Rectangle on macOS), there is no way for Sigil to guarantee it has the exact size and position it requests on startup.

So keep Sigil bigger than its minimum preferred size and it will stay right where you place it assuming your os window manager allows it. Make it too small and it will come back with a new slightly larger size.

Every Sigil since we moved to Qt6 seems to do the same thing.
KevinH is offline   Reply With Quote
Old 06-19-2024, 09:17 PM   #40
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,225
Karma: 19000635
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
This is not an issue for me as I usually have Sigil maximized. To avoid confusion, is it possible to give a minimum size for the window equal to Sigil's preferred minimum...that would keep people from shrinking it smaller than it wants???
Turtle91 is offline   Reply With Quote
Old 06-19-2024, 09:29 PM   #41
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: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Possibly but it would depend on which dockwidgets were visible and which were hidden.

And sometimes I shrink it too small to just make temporary room and re-expand it. Locking in a minimum would change that.

So this is not something I consider a bug. The only change since 2.1.0 is 6 extra pixels of width (one around cv and each dock widget) used to show focus rectangles if the user enables them.

Last edited by KevinH; 06-19-2024 at 09:51 PM.
KevinH is offline   Reply With Quote
Old 06-20-2024, 04:48 AM   #42
repilo
Connoisseur
repilo began at the beginning.
 
Posts: 68
Karma: 10
Join Date: Apr 2021
Location: Spain
Device: Kobo Libra 2
Quote:
Originally Posted by KevinH View Post
We have changed nothing to do with Window positioning since our last release. Could the available screen geometry or dpi of your monitor have changed? Could you have updated or changed video drivers? Could Windows itself have updated something?
I have only updated Sigil. I haven't changed anything in my PC settings or in Windows 10. In fact I went back to the previous Sigil and the problem disappeared.

Image 1. I adjust Sigil 2.2.0 to my liking and after capturing the image I close the application.
Image 2. When I open Sigil again, its size is bigger, it overlaps with the application to the right of it.
I think it is perhaps a bit big for a minimum size.
I reinstalled version 2.1.0 and the problem is solved.
Attached Thumbnails
Click image for larger version

Name:	1.jpg
Views:	473
Size:	429.8 KB
ID:	209048   Click image for larger version

Name:	2.jpg
Views:	473
Size:	423.5 KB
ID:	209049  
repilo is offline   Reply With Quote
Old 06-20-2024, 07:37 AM   #43
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,998
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
↑ ↑ ↑ ---- Looks like it expanded to accommodate another clip bar item 'saltoescena'.

@KevinH - Sigil & PageEdit 2.2.0 working fine for me, I had to retain ':focus {border: 1px solid yellow;}' in qt_styles.qss to get yellow borders every place. That's fine by me.

BR
BetterRed is offline   Reply With Quote
Old 06-20-2024, 08:23 AM   #44
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,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
The OS highlight/accent color can be overridden with the SIGIL_FOCUS_HIGHLIGHT_COLOR environment variable.

Setting it to something like #FFFF00 would produce (a) yellow.

EDIT: I just noticed you said "every place".
DiapDealer is offline   Reply With Quote
Old 06-20-2024, 09:23 AM   #45
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: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by repilo View Post
I have only updated Sigil. I haven't changed anything in my PC settings or in Windows 10. In fact I went back to the previous Sigil and the problem disappeared.

Image 1. I adjust Sigil 2.2.0 to my liking and after capturing the image I close the application.
Image 2. When I open Sigil again, its size is bigger, it overlaps with the application to the right of it.
I think it is perhaps a bit big for a minimum size.
I reinstalled version 2.1.0 and the problem is solved.
Again this is not a bug. The minimum size in Sigil 2.2.0 is now 6 pixels larger than before to accommodate focus borders. If you need more screen real estate go to the View menu and hide both Table of Contents and Preview. You should then be able to set them side by side. Closing the Find and Replace Window may help as well. Remember, Sigil is not a single window, it has dockwidgets windows that attach on all sides that each have there own minimum sizes if not hidden.
KevinH is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil-1.3.0 Released DiapDealer Sigil 8 09-15-2020 09:03 AM
Sigil-0.9.10 Released DiapDealer Sigil 149 11-19-2018 11:20 PM
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 KevinH Sigil 106 10-04-2015 11:41 AM
Sigil 0.8.2 Released user_none Sigil 12 12-22-2014 07:02 PM
Sigil 0.7.0 Released user_none Sigil 75 03-03-2013 01:41 PM


All times are GMT -4. The time now is 01:11 PM.


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