Re: 848fca9 & 18f08bf: A rewrite of qt_gui.getImageFinder

2018-03-20 Thread Terry Brown
On Tue, 20 Mar 2018 18:56:35 -0700 (PDT) Chris George wrote: > I would say the ability to point to these images lies somewhere else > in Leo's code. Can't imagine that it hasn't been encountered in the recent work, but I know there's some code that caches icons, for cases where there's multiple

Re: 848fca9 & 18f08bf: A rewrite of qt_gui.getImageFinder

2018-03-20 Thread Chris George
I just replaced the box icons found in ../leo-editor/leo/Icons (they were white background) with the transparent icons. Now I can load the "dark" boxes. And people running light themes will load the "light" boxes. So if you move the box00.png...box15.png (take the .bmp too, just to be sure) to

Re: 848fca9 & 18f08bf: A rewrite of qt_gui.getImageFinder

2018-03-20 Thread Terry Brown
On Tue, 20 Mar 2018 17:33:59 -0700 (PDT) "Edward K. Ream" wrote: > On Tuesday, March 20, 2018 at 7:25:54 PM UTC-5, Edward K. Ream wrote: > > Imo, this should find images in all the reasonable places, in the > most > > reasonable order. > > > > Rev ece92f9 adds the x/themes/icons to both tabl

Re: tree icons

2018-03-20 Thread Terry Brown
On Tue, 20 Mar 2018 16:15:12 -0700 (PDT) "Edward K. Ream" wrote: > On Tuesday, March 20, 2018 at 1:04:54 PM UTC-5, Terry Brown wrote: > > > > Doh, my theme had survived unscathed until just now, now my tree > > icons are light in a dark theme. How do I fix that? > > > > Please do a git bisec

Re: 848fca9 & 18f08bf: A rewrite of qt_gui.getImageFinder

2018-03-20 Thread Edward K. Ream
On Tuesday, March 20, 2018 at 7:25:54 PM UTC-5, Edward K. Ream wrote: Imo, this should find images in all the reasonable places, in the most > reasonable order. > Rev ece92f9 adds the x/themes/icons to both tables for all paths x. The principle behind the search order is that the most specific

848fca9 & 18f08bf: A rewrite of qt_gui.getImageFinder

2018-03-20 Thread Edward K. Ream
848fca9 comments out old code. 18f08bf removes the old code. The new code is a complete rewrite: 1. It relies on g.os_path_finalize_join to do all the heavy lifting. There is something seriously wrong if this doesn't work. 2. It uses tables to define the search order of directories. There are

Re: tree icons

2018-03-20 Thread Edward K. Ream
On Tuesday, March 20, 2018 at 1:04:54 PM UTC-5, Terry Brown wrote: > > Doh, my theme had survived unscathed until just now, now my tree icons > are light in a dark theme. How do I fix that? > Please do a git bisect to discover the exact rev that causes the problems. Thanks. Edward -- You

Re: Chris, with your permission I'd like to edit #808

2018-03-20 Thread Edward K. Ream
On Tuesday, March 20, 2018 at 1:50:27 PM UTC-5, Chris George wrote: I tend to be wordy in hoping to convey the meaning. > Sure, we want to be as concise as possible. In this case, though, I just didn't understand what you wrote until much later. In general, I think it's good to remove back and

Re: tree icons

2018-03-20 Thread Edward K. Ream
On Tue, Mar 20, 2018 at 3:50 PM, Edward K. Ream wrote: Clearly, something *did* break your theme, and that's a bug. > ​Rev 7f44cb4 enables tracing in ssm.resolve_urls. That should tell you a lot. ​ ​As I suggested to Chris, you might also want to enable tracing in qt_gui.getImageFinder.​ >

Re: tree icons

2018-03-20 Thread Edward K. Ream
On Tue, Mar 20, 2018 at 2:10 PM, Terry Brown wrote: I always had @string color_theme set. It might be partly not searching > ~/.leo/themes, possibly dropping an implicit Icons somewhere - haven't > really diagnosed. Not opposed to changing my theme if that's easy. > ​It's not you I'm really wo

Re: tree icons

2018-03-20 Thread Terry Brown
On Tue, 20 Mar 2018 13:30:50 -0500 "Edward K. Ream" wrote: > On Tue, Mar 20, 2018 at 1:16 PM, Edward K. Ream > wrote: > > On Tue, Mar 20, 2018 at 1:04 PM, Terry Brown > wrote: > > > > Doh, my theme had survived unscathed until just now, now my tree > > icons > >> are light in a dark theme.

Re: Chris, with your permission I'd like to edit #808

2018-03-20 Thread Chris George
I tend to be wordy in hoping to convey the meaning. As Mark Twain quipped: "I am sorry for writing such a long letter, I didn't have time to write a short one." Chris > ​I agree that this is the wise course in general, but the "less said the > better" principle *may* also apply. > > Edward >

Re: tree icons

2018-03-20 Thread Terry Brown
On Tue, 20 Mar 2018 13:16:30 -0500 "Edward K. Ream" wrote: > On Tue, Mar 20, 2018 at 1:04 PM, Terry Brown > wrote: > > Doh, my theme had survived unscathed until just now, now my tree icons > > are light in a dark theme. How do I fix that? > > Try @string color_theme = name, where leo/themes/

Re: tree icons

2018-03-20 Thread Edward K. Ream
On Tue, Mar 20, 2018 at 1:16 PM, Edward K. Ream wrote: On Tue, Mar 20, 2018 at 1:04 PM, Terry Brown wrote: > > Doh, my theme had survived unscathed until just now, now my tree icons >> are light in a dark theme. How do I fix that? >> > > Try > ​​ > @string color_theme = name, where leo/themes/n

Re: Chris, with your permission I'd like to edit #808

2018-03-20 Thread Edward K. Ream
On Tue, Mar 20, 2018 at 12:43 PM, Terry Brown wrote: I think editing conclusions and summaries in the first / top comment is > good, but I don't know about deleting comments, seeing the msg. "Edward > Ream deleted a comment by Chris George..." is just jarring ​Yeah. There is a problem here. R

Re: tree icons

2018-03-20 Thread Chris George
I believe the light icons are the Qt defaults. I may be wrong, but I tested to rule out interference while troubleshooting this. At one point I tested ../leo-editor/leo/themes/dark as the location (theme name being dark). Without that folder, I restarted Leo into white icons. With it, dark one

Re: Basic Layout of the Leo GUI

2018-03-20 Thread Edward K. Ream
On Tue, Mar 20, 2018 at 12:48 PM, rengel wrote: > > As far as flaunting convention, Leo isn't really like any other program. >> I am not sure if the tyranny of the marketplace should apply to it. >> > > Yeah, that's great, isn't is? This is a free world. In an open source > world, nobody is force

Re: tree icons

2018-03-20 Thread Edward K. Ream
On Tue, Mar 20, 2018 at 1:04 PM, Terry Brown wrote: Doh, my theme had survived unscathed until just now, now my tree icons > are light in a dark theme. How do I fix that? > Try @string color_theme = name, where leo/themes/name or leo/Icons/name contains the desired icons. > Also seeing > can

Re: tree icons

2018-03-20 Thread Terry Brown
On Tue, 20 Mar 2018 13:04:51 -0500 Terry Brown wrote: > Doh, my theme had survived unscathed until just now, now my tree icons > are light in a dark theme. How do I fix that? Also seeing can not load image: /home/tbrown/local/leo-editor/leo/Icons/file_icons/folder-saved-search.png for the fi

tree icons

2018-03-20 Thread Terry Brown
Doh, my theme had survived unscathed until just now, now my tree icons are light in a dark theme. How do I fix that? Thanks, Terry -- 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,

Re: Basic Layout of the Leo GUI

2018-03-20 Thread rengel
> As far as flaunting convention, Leo isn't really like any other program. > I am not sure if the tyranny of the marketplace should apply to it. > Yeah, that's great, isn't is? This is a free world. In an open source world, nobody is forced to follow any conventions or standards or customs.

Re: Chris, with your permission I'd like to edit #808

2018-03-20 Thread Terry Brown
On Tue, 20 Mar 2018 09:58:47 -0700 Chris George wrote: > Absolutely. Summarizing the conversation and leaving it around for > future reference is smart. I think editing conclusions and summaries in the first / top comment is good, but I don't know about deleting comments, seeing the msg. "Edward

Re: Chris, with your permission I'd like to edit #808

2018-03-20 Thread Chris George
Absolutely. Summarizing the conversation and leaving it around for future reference is smart. Chris On Tue, Mar 20, 2018 at 9:18 AM, Edward K. Ream wrote: > I'd like to fold the last comment into the first, and eliminate almost > everything else. > > Imo, doing so would help in case further prob

Chris, with your permission I'd like to edit #808

2018-03-20 Thread Edward K. Ream
I'd like to fold the last comment into the first, and eliminate almost everything else. Imo, doing so would help in case further problems remain. What do you think? Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from th

Re: OT: A better way to code, by Mike Bostock

2018-03-20 Thread Offray Vladimir Luna Cárdenas
Of course, the advantage of Joe Orr's Leo Vue demo is that it provides a single link to follow, which is what happens with most of the web native apps, with nothing to install, just a link and you're done (provided that you have good connectivity, which doesn't happen in a lot of places of the worl

Re: Basic Layout of the Leo GUI

2018-03-20 Thread Chris George
Heh. I lived my entire life in one file for almost a decade. That file created and controlled over a thousand others in the file system, but only one Leo file. I like context as an organizing principle. I learned to stop thinking in a file centric way when it comes to Leo. Now I have five or s

Summary of themes-related work

2018-03-20 Thread Edward K. Ream
Here is the summary of recent themes work. This will be pre-writing for new themes documentation. 1. [Today] Rev 168d79c0 converts all relative url's in stylesheets to absolute paths. This may fix #808 . I have just close it. Please reopen

Re: Basic Layout of the Leo GUI

2018-03-20 Thread rengel
... Leo doesn't use tabs to switch files... Well, I do. 'workbook' in one tab, 'Settings' in a second tab, and some application-specific Leo file in a third tab. But thanks, for trying to explain. Reinhard -- You received this message because you are subscribed to the Google Groups "le

Re: OT: A better way to code, by Mike Bostock

2018-03-20 Thread Offray Vladimir Luna Cárdenas
Hi, On 20/03/18 04:02, Edward K. Ream wrote: > > Comparing the fluency and momentum I get with Pharo with Python or > Javascript or similar file based and indirect techs, is difficult > to invest time in learning them deeply > > > ​I'm glad you are exploring the Pharo world.  The worl

Re: Basic Layout of the Leo GUI

2018-03-20 Thread Terry Brown
On Tue, 20 Mar 2018 02:18:56 -0700 (PDT) rengel wrote: > On Sunday, March 18, 2018 at 3:23:40 PM UTC+1, Terry Brown wrote: > > > > Firefox / Chrome / and I think at least one of the MS browsers have > > tabs on top. Admittedly they don't really have menu bars, but they > > have similarly critical

Re: Basic Layout of the Leo GUI

2018-03-20 Thread rengel
On Sunday, March 18, 2018 at 3:23:40 PM UTC+1, Terry Brown wrote: > > Firefox / Chrome / and I think at least one of the MS browsers have tabs > on top. Admittedly they don't really have menu bars, but they have > similarly critical elements under the tabs. In both cases (Leo and > browsers) t

Re: OT: A better way to code, by Mike Bostock

2018-03-20 Thread Edward K. Ream
On Mon, Mar 19, 2018 at 7:50 PM, Offray Vladimir Luna Cárdenas < off...@riseup.net> wrote: I still remember the day when, just three months after using Pharo and its > ecosystem, I was able to prototype an outliner with live coding [8] nodes, > something I was proposing/trying with Leo + IPython w