@url URL Open Hangs Leo-Editor for duration (and lesser URL problems)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
leo-editor |
Fix Released
|
High
|
Edward K. Ream |
Bug Description
I tested @url nodes with the URL in the first line of the body doing the open with command double-
Actually I usually used my shortcut Alt+F3 for double-
I tested 4 kinds of URL:
Text file (Example, file://
Opens the text file with the default text file editor. Leo-Editor hangs till the text editor exits.
About 2011-11-12 when I noticed that this kind of URL no longer worked as I expected, Leo-editor opened a text file with the default web browser; and Leo-Editor did not hang. So there have been changes, but more are needed.
Directory (Example, file://
Opens the directory with the default file browser. Leo-Editor hangs till the file browser exits.
About 2011-11-12 when I noticed that this kind of URL no longer worked as I expected, Leo-editor opened a directory with the default web browser; and Leo-Editor did not hang. So there have been changes, but more are needed.
Leo-Editor outline (Example, file://
Opens the outline in another tab. Does not hang Leo-Editor. But does not go to the node specified by the "extended URL."
Web page (Example, http://
Opens the URL with the default browser. Does not hang Leo-Editor. This works as expected. No problems.
The following bugs are related to this one in that they concern URL handling:
https:/
https:/
https:/
The following bug is related to this one in that the major problem reported by both is Leo-Editor hanging till a child process terminates:
https:/
I tested Leo-Editor Rev 5051 under Ubuntu with the Fluxbox window manager.
Leo Log Window
Leo 4.9.1 devel, build 5051, 2012-03-01 09:43:54
Python 2.7.2, qt version 4.7.3
linux2
setting leoID from os.getenv('USER'): 'bob'
load dir: /home/bob/
global config dir: /home/bob/
home dir: /home/bob
reading settings in /home/bob/
reading settings in /home/bob/
reading settings in /media/
reading: /media/
--- End Log Window ------------
Changed in leo-editor: | |
importance: | Undecided → High |
assignee: | nobody → Edward K. Ream (edreamleo) |
Changed in leo-editor: | |
milestone: | none → 4.10-b1 |
Fixed on the trunk at rev 5088.
- Removed "significant" calls to os.system. os.system is deprecated, though it's alright to call os.system('cls').
- Added support for unit testing to g.os_startfile, g.recursiveUNLS earch & g.handleUrl
- Added new unit test. This test passes, as does hand tests pass. Both sets of tests are important.