Re: Chris: cause of outline artifact?

2019-09-08 Thread Chris George
I am taking a break from this for a bit. 

In the meantime I will run Leo "native" under Neon with Python 3.6.8 and 
PyQt 5.12.3.

Chris

On Sunday, September 8, 2019 at 1:56:11 PM UTC-7, Matt Wilkie wrote:
>
> With all else being equal (this took some effort), if the python 
>> environment leois running under is native to the OS the stylesheet is 
>> flawless. If leo is running under a venv of any flavor (including conda) 
>> the artifacts appear.
>>
>
> Sounds like time to reach out to a wider community, though I don't know 
> which one. And they'll likely need a Hello World kind of example to play 
> with; no idea how hard that might be.
>
> -matt
>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/9a824218-d868-419f-b879-1b286088a0a2%40googlegroups.com.


Re: Chris: cause of outline artifact?

2019-09-08 Thread Matt Wilkie

>
> With all else being equal (this took some effort), if the python 
> environment leois running under is native to the OS the stylesheet is 
> flawless. If leo is running under a venv of any flavor (including conda) 
> the artifacts appear.
>

Sounds like time to reach out to a wider community, though I don't know 
which one. And they'll likely need a Hello World kind of example to play 
with; no idea how hard that might be.

-matt

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/56575155-4c17-4208-a49a-374671c1ee93%40googlegroups.com.


Re: Chris: cause of outline artifact?

2019-09-08 Thread Terry Brown
On Sun, 8 Sep 2019 13:25:23 -0700 (PDT)
Chris George  wrote:

> After extensive testing I have determined that my initial conclusions
> hold.
> 
> With all else being equal (this took some effort), if the python 
> environment leois running under is native to the OS the stylesheet is 
> flawless.
> 
> If leo is running under a venv of any flavor (including conda) the 
> artifacts appear.
> 
> Changing the stylesheet while using the venv doesn't work. Gammaray
> doesn't help. As far as it is concerned it is the same object with
> the same properties. 
> 
> I am stumped.

Could something else like screen dpi determination be different?

Can you run the OS native version (partially) in the venv?  Perhaps
just get Python from the venv not the Qt stuff - you'd have to tell the
venv to use system libs.  Then just PyQt from the venv not Python / Qt,
etc. if that pattern makes sense.

Cheers -Terr

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/20190908154933.1e63e7fe%40lakeview.


Re: Chris: cause of outline artifact?

2019-09-08 Thread Chris George
After extensive testing I have determined that my initial conclusions hold.

With all else being equal (this took some effort), if the python 
environment leois running under is native to the OS the stylesheet is 
flawless.

If leo is running under a venv of any flavor (including conda) the 
artifacts appear.

Changing the stylesheet while using the venv doesn't work. Gammaray doesn't 
help. As far as it is concerned it is the same object with the same 
properties. 


I am stumped.


Chris

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/ee1cad83-d9f7-4fa2-b6e8-da4186bf5c37%40googlegroups.com.


Re: Chris: cause of outline artifact?

2019-08-27 Thread Edward K. Ream
On Mon, Aug 26, 2019 at 9:56 PM Matt Wilkie  wrote:

Hi Chris, i saw this in passing and wonder if it might be the same thing
> you've been running into with the theme weird outline in outline thing.
>
> "*11) Set outline: none; when styling inputs and buttons* or they will
> get an outline like the below when clicked/interacted with:
>

Thanks for the link.  It's interesting.  The context is different, however.
The tip applies to a React style sheet.  Qt style sheets are their own
breed of animal, with their own quirks.  Afaik, there is no such thing as
an "outline" selector in Qt.

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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS0RycvswV%3DL200Fr-176ewTQgwZvyE7%2Bd-cBet4hamkvA%40mail.gmail.com.


Chris: cause of outline artifact?

2019-08-26 Thread Matt Wilkie
Hi Chris, i saw this in passing and wonder if it might be the same thing
you've been running into with the theme weird outline in outline thing.

"*11) Set outline: none; when styling inputs and buttons* or they will get
an outline like the below when clicked/interacted with:

"
https://dev.to/aduranil/53-learnings-from-writing-a-multiplayer-strategy-game-3ijd

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CANGB9XTAbODy2Kj8ozOGnPab8GKVu1K5L0ToSyoZ2-Wo_5C%2Bow%40mail.gmail.com.