Thread: Quick Question
View Single Post
Old 12-10-2020, 05:47 PM   #61
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: 21,890
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by KevinH View Post
I played around with this but dropping the highlight when focus is lost just does not work.

Every time a user clicks on a place in Preview to sync with CodeView the highlighting would be lost as Focus goes to Preview so you can not tell where you are after the sync (or that the sync even happened at all if no scrolling is involved). Similar problems happen with Find and Replace as it takes the focus but you can not easily see where you are finding and replacing as the highlight is lost.

I am afraid that is something that too many users rely on (ie - I do!) and so we will not drop current line highlighting when focus is lost as there are many outside windows can can and will interact with the CodeView window but are outside of focus.
Fair enough.

Removing the display line highlight was a suggestion to indicate that the CV window does not have keyboard focus. Panels such as the Book browser and ToC change the background colour of the current item (see third screen shot below) when they don't have focus. Perhaps a similar approach could be applied to the current display line in the CV panel; on reflection, that would be better than removing the highlight.

Quote:
Originally Posted by KevinH View Post
Sorry, but your window manager should be making things clear when focus changes by dropping/showing the insertion point cursor. So looking to see when the blinking cursor is in a window is the best way to tell if that window is able to accept keyboard input.

If you have trouble seeing the cursor, please try using Windows Accessibility features to help make it more clear (that does work with macOS Accessibility settings so it should with Window's as well).
Which is precisely what I did decades ago, viz:

Click image for larger version

Name:	Screenshot 2020-12-11 082149.jpg
Views:	205
Size:	107.2 KB
ID:	183910

Here you see compliance with that setting in Sigil's metadata editor :

Click image for larger version

Name:	Screenshot 2020-12-11 090735.jpg
Views:	239
Size:	54.6 KB
ID:	183913

Here you see non-compliance with that setting in Sigil's Code View panel:

Click image for larger version

Name:	Screenshot 2020-12-11 090911.jpg
Views:	206
Size:	725.3 KB
ID:	183914

Sigil is no Robinson Crusoe in this regard, the calibre editor and most browsers, text editors etc, don't comply with that setting either.

I don't really want to continue this discussion, the underlying deficiency presumably lies within Qt, and in this instance perhaps deeper than that. It's probably one of those deep-seated 'bugs' that some regard as a 'feature'

BR
BetterRed is online now   Reply With Quote