lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] Copyable diagnostic messages [Was: Editor for product files: s


From: Greg Chicares
Subject: Re: [lmi] Copyable diagnostic messages [Was: Editor for product files: sketch of...]
Date: Sun, 28 Aug 2005 15:34:14 +0000
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

On 2005-8-28 13:16 UTC, Vadim Zeitlin wrote:
> On Fri, 26 Aug 2005 03:12:49 +0000 Greg Chicares <address@hidden> wrote:
> 
> GC> It would be helpful to use such an interface element for diagnostic
> GC> messages.
> 
>  The standard message box has a very nice but not widely known feature
> under Windows: you can press Ctrl-C in it to copy its entire text into
> clipboard.

I had never realized that. I'll make sure all our users know this.

> As wx uses a standard message box for simple messages, it should
> work as long as there is a single message only too. There are 2 problems
> however:
> 
> 1. it doesn't work as long as there is more than one message as then a
>    custom dialog (the one with "Details" button) is used and it doesn't
>    support Ctrl-C

We have very few messages like that. The few that we have all use
wxLog, I believe. I really want to stop using wxLog: it's a great
feature of wx, certainly, but I already have a similar feature of
my own that works with console and cgi-bin interfaces. Probably I
could use wxLog with those interfaces, too, by making every part of
lmi depend on wxBase, but I really don't want to do that because it
would make it harder to compile, say, unit tests with compilers
other than gcc.

> 2. it doesn't work on the other platforms (although GTK 2 does use a read-
>    only text control in its message box so you can select all the text and
>    copy it -- while it's less convenient than just pressing Ctrl-C IMHO
>    it's better than nothing)

That's OK. We mustn't code a feature that works better on msw
than on GNU/Linux, but we aren't coding this--it's built in.
FSF wouldn't care about that.

>  I'm not sure we can do anything about (2) but we can fix (1) easily
> (either by supporting Ctrl-C in this dialog or adding a "Copy" button near
> the "Save" one or by doing both). Please let me know if you'd like to do
> this.

Thanks, no, we don't need this for lmi.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]