Re: [Gimp-developer] How to capture Gimp-log=dnd events o n Windows? (re: Bug 561973 – Missing drag and drop target)

2008-11-26 Thread Sven Neumann
Hi,

On Wed, 2008-11-26 at 02:39 -0500, Alec Burgess wrote:

 Sven ... was there some additional output you expected me to see
 there?

Yes, definitely. All that --verbose output is irrelevant. Why don't you
try what I suggested and redirect output to a file?


Sven


___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] How to capture Gimp-log=dnd e vents on Windows? (re: Bug 561973 – Missing drag and drop target)

2008-11-26 Thread Alec Burgess
Sven Neumann ([EMAIL PROTECTED]) wrote (in part)  (on 2008-11-26 at 02:17):
  On Wed, 2008-11-26 at 08:13 +0200, Alexia Death wrote:
 
As to debug output --verbose and -c flags are needed.
 
  No, they aren't. The --verbose flag has nothing to do with the output
  you get from the GIMP_LOG facility. And the -c flag only applies to
  messages that are shown in error dialogs otherwise.
 
  What is needed here is the command-line syntax for the Windows
  platform
  to get stdout and stderr redirected to a file.
Sorry Sven ... if you'd used the phrase redirected to a file instead of
Can anyone please tell this fellow how to get the debug output on Windows?
I might of realized what was needed :-)
(I was expecting that the GIMP output window would trap everything when 
the envvar was set)

In any case - this: D:\Program Files\GIMP-2.6\bin\gimp-2.6.exe  
d:\temp\gimplog5.txt
gives this output ...
===
(gimp-2.6.exe:5588): DND-DEBUG: gimp_dnd_data_drop_handle(798): data type 1
(gimp-2.6.exe:5588): DND-DEBUG: gimp_dnd_data_drop_handle(817): target 
text/uri-list
(gimp-2.6.exe:5588): DND-DEBUG: gimp_selection_data_get_uri_list(119): 
raw buffer file:///C:/Documents%20and%20Settings/Alec/Desktop/12677-8.jpg

(gimp-2.6.exe:5588): DND-DEBUG: gimp_selection_data_get_uri_list(162): 
trying to convert 
file:///C:/Documents%20and%20Settings/Alec/Desktop/12677-8.jpg to an uri
--
(gimp-2.6.exe:5588): DND-DEBUG: gimp_dnd_data_drop_handle(798): data type 1
(gimp-2.6.exe:5588): DND-DEBUG: gimp_dnd_data_drop_handle(817): target 
text/uri-list
(gimp-2.6.exe:5588): DND-DEBUG: gimp_selection_data_get_uri_list(119): 
raw buffer 
 file:///C:/Documents%20and%20Settings/Alec/Local%20Settings/Temporary%20Internet%20Files/Content.IE5/1LX395MJ/12677-3%5B1%5D.jpg

(gimp-2.6.exe:5588): DND-DEBUG: gimp_selection_data_get_uri_list(162): 
trying to convert 
file:///C:/Documents%20and%20Settings/Alec/Local%20Settings/Temporary%20Internet%20Files/Content.IE5/1LX395MJ/12677-3%5B1%5D.jpg
 
to an uri
===

I'm not sure whether this is showing both stdout and stderr or just stdout?
Lines above -- are from DnD from Desktop. Lines below are from 
DnD from an IEView tab in Firefox.
Attempted DnD from a Firefox tab to GIMP toolbox just shows the 
slashed-circle and doesn't generate any output to the log file.

Aside: can you point me to any Doc or Man page that defines what 
environment variables GIMP is looking for?
I assume that there are more settings that GIMP_LOG is looking for than 
just dnd?
Googling [gimp environment variable GIMP_LOG] returns this thread 
(from Michael Natterer)
===
Showing 20 of 35 commits from 51 weeks ago: gimp (trunk) on 2007 ... - 
5:00am
2007-11-16 Michael Natterer [EMAIL PROTECTED] * app/base/temp-buf.c ... a 
log facility which can be enabled using the GIMP_LOG environment 
variable. ...
www.gnome.org/~shaunm/pulse/web/person/gnome.org/mitch?ajax=commitsweeknum=1976

The link no longer exists but the Google-cache does. Maybe they are only 
scattered through source? 

-- 
Regards ... Alec   ([EMAIL PROTECTED]  WinLiveMess - [EMAIL PROTECTED])


___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] How to capture Gimp-log=dnd e vents on Windows? (re: Bug 561973 – Missi ng drag and drop target)

2008-11-26 Thread Tor Lillqvist
See the bug report for my comment.
http://bugzilla.gnome.org/show_bug.cgi?id=561973#c6  In short, it is a
known fact that GTK+ on Windows doesn't implement generic
inter-process drag-and-drop. Only accepting files dragged from
Explorer onto GTK+ applications work, and dragging images from IE
(which is closely related to Explorer) apparently uses the same
protocol.

--tml
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] How to capture Gimp-log=dnd events on Windows?

2008-11-26 Thread Sven Neumann
Hi,

On Wed, 2008-11-26 at 04:11 -0500, Alec Burgess wrote:

 Aside: can you point me to any Doc or Man page that defines what 
 environment variables GIMP is looking for?
 I assume that there are more settings that GIMP_LOG is looking for than 
 just dnd?

Have a look at app/gimp-log.c for the full list. There aren't many
places in GIMP though that make use of this logging facility.


Sven


___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer