← Back to team overview

kicad-developers team mailing list archive

Re: comment on the design of the "save before exit" window

 

Fabrizio,

This depends on when wxWidgets 3.0 is released and available on most
Linux distos.  We are already using 2.9.3 on Windows.  If this is years
away then maybe it would be worth the effort.  I have no idea when 3.0
is going to be released.  The tricky part of pulling wxMessageBox from
2.9.3 is that you will have to figure out a way to prevent a conflict
with the definition of wxMessageBox in the installed version of
wxWidgets that KiCad is being built against.

Wayne

On 1/21/2012 8:59 AM, Fabrizio Tappero wrote:
> Wayne,
> thanks for the hint. Do you have any suggestion ? do you think it is
> worth the effort? if you think so I am willing to explore how hard it
> is?
> 
> fab.
> 
> 
> On Fri, Jan 20, 2012 at 11:34 PM, Wayne Stambaugh
> <stambaughw@xxxxxxxxxxx> wrote:
>> On 1/6/2012 8:54 AM, Fabrizio Tappero wrote:
>>> hello,
>>> in attachment you can find a comparison between the Geda schematic
>>> "save before exit" window, the eeschema one and the eeschema component
>>> editor one. I might be wrong but it seems to me that in kicad the same
>>> question from two different programs is wrongly asked. Because the
>>> same answer require me to click no for one and yes for the other. Am I
>>> wrong?
>>>
>>> It also seems to me that the Geda question is a little better.
>>>
>>> I was wondering if it would not be worth going for a "save" and "close
>>> without saving" kind of question throughout the whole kicad suite. The
>>> consequence of not doing that (like in the current kicad case) is that
>>> for the same action you need to click yes and sometime no, according
>>> to what the question is.
>>>
>>> regards
>>> Fabrizio
>>>
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help   : https://help.launchpad.net/ListHelp
>>
>> Fabrizio,
>>
>> Sorry it took me so long to respond.  I've been rather busy lately.  You
>> are correct about message box.  However, until wxWidgets 3.0 becomes
>> minimum version for KiCad this will be a fairly big effort.  The current
>> message box does not support changing the button labels or including the
>> extended message.  You would either have to create your own custom
>> message box or pull the latest version of the wxMessageBox code from
>> 2.9.3.  In the mean time, there are plenty of opportunities to improve
>> the messages in many of KiCad's dialog boxes.
>>
>> Wayne
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
> 


References