I was able to achieve this effect by changing:

QTextEdit:hover#log-widget, LeoQTreeWidget:hover#treeWidget, 
QTextEdit:hover#richTextEdit {

 border-color: @focused-border-hover-color;

}
to 

QTextEdit:hover#log-widget, LeoQTreeWidget:hover#treeWidget, 
QTextEdit:hover#richTextEdit {

}

in the @data qt-gui-plugin-style-sheet node of my theme node. This 
effectively disables the hover focus border.

I suspect the ability to put any kind of border around the 
Find/Nav/Task/Bookmark panes may have somethign to do with this as well. I 
tried to fiddle with it a little but was unsuccessful. Not sure how these 
stylesheets work with the naming of internal Leo components.


On Tuesday, April 7, 2015 at 1:39:19 PM UTC-4, john lunzer wrote:
>
> I think you've misunderstood my suggestion. I love focus borders, but 
> *hover* focus borders are visually distracting to where the actual pane 
> focus is. My first thought was to just make the hover color the same as the 
> unfocus color but as I stated in my previous post the hover border 
> overrides all other borders.
>
> We all find different things distracting. This distracted me and I made a 
> suggestion that I believe would give this useful feature even greater 
> utility.
>
> On Tuesday, April 7, 2015 at 10:37:38 AM UTC-4, Edward K. Ream wrote:
>>
>>
>>
>> On Tue, Apr 7, 2015 at 7:03 AM, john lunzer <[email protected]> wrote:
>>
>>> I've been experimenting with using focused border as I find myself 
>>> getting lost in Leo quite often.
>>>
>>> Focused border has some issues that I think make it not as useful as it 
>>> truly could be:
>>>
>>> 1. Hover focus might be great for making an instructional video but in 
>>> regular operation it's distracting (not useful). [snip]​
>>>
>>>
>> ​A matter of opinion/preference, which as usual we need not debate.
>>
>> There should be an option to disable hover focus, it does not seem 
>>> beneficial in regular daily use, I know where my mouse is! 
>>>
>>>
>> ​@string focused-border-width = 0px​
>>  
>>
>> 2. All types of focus coloring only work for Tree, Body and Log panes. 
>>> I've tested pretty much every other type of pane. This even affects the 
>>> "tabbed log pane", which switching to non log tabs the focus coloring 
>>> disappears completely. 
>>>
>>>
>>> 2 is definitely a bug. I'm even tempted to call aspects of 1 a bug but 
>>> it would probably be considered an enhancement.
>>>
>>
>> ​Please don't bother filing a bug report about this.
>>
>> Edward
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to