Good evening gents,

I had a bit of a problem with Leo this evening, though I don't know if the
source was Leo, my laptop, or something else.

I use Dropbox to keep my project environment in sync across the 3 machines
I use most often (all Windows). %HOME% is set to C:\Users\{me}\Drobox,
mapped as B:. Leo-from-github lives in B:\apps\leo-editor.

I left work this afternoon in a rush, closing Leo was the last thing I did
before locking workstation (dual screen). When I opened LeoDist.leo at home
on my laptop I was asked if the .leo file was open elsewhere. I answered
No. ...though as I write this I wonder if maybe I actually clicked Yes.

When Leo finished opening, the app-is-running icon showed up in the Task
Bar but the window itself couldn't be found. [Alt-Tab] would show a preview
thumbnail of Leo and the open doc, but making it active would not bring it
to the foreground or visibility.

Clicking on the Leo in Task Bar would show a brief flicker and what looked
to be an animation of the Window minimizing or maximizing from the Task Bar
to a non-existent display on the right. At work, I had had Leo on the right
hand display.

I could move Leo to visibility on my single display laptop by pressing
[WinKey]-[left-arrow] multiple times, and/or pressing [alt]-[space] to
invoke the Windows Restore/Move/Size/... context menu control, selecting
[M]ove --with keyboard -- and arrow key-ing to the left until the window
came into view. (I've used this trick from time to time since Windows 3.1
days on other programs that occasionally decide to display off-screen.)

Here's the extra strange bit: every time I open LeoDist.leo, the same thing
happens! If I open Leo by itself, everything is normal.

...Later: The pattern seems to be that any file I open from the command
line, opens off-screen, while starting Leo with no params and then opening
with File menu is ok. Weird.

No, that's not it. It gets even weirder. Opens off-screen:
B:\>leo \code\apt-dev.leo
B:\>leo code\apt-dev.leo

Opens on-screen!
B:\>leo b:\code\apt-dev.leo

::scratches head::

```
B:\>leoc code\apt-dev.leo

** isPython3: False
Leo 5.0-final, build 20141124101406, Mon Nov 24 10:14:06 CST 2014
Not running from a git repo
Python 2.7.4, PyQt version 4.7.1
Windows 7 AMD64 (build 6.1.7601) SP1
leoID=maphew (in C:\Users\Matt\Dropbox\.leo)
reading settings in
B:\o4w\apps\Python27\lib\site-packages\leo\config\leoSettings.leo
reading settings in C:\Users\Matt\Dropbox\.leo\myLeoSettings.leo
reading settings in B:\code\apt-dev.leo
traverse no settings tree for apt-dev.leo
orphan node in @file apt.py
retaining the data from the .leo file
can not open: '@file B:\code\apt\attr-test.py'
```

-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 [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