On Wed, 8 Sep 2010 01:15:01 +0300 Nerijus Baliunas 
<[email protected]> wrote:

NB> On Tue, 7 Sep 2010 23:27:43 +0200 Vadim Zeitlin <[email protected]> 
wrote:
NB> 
NB> VZ> NB> I tried to check "Permanently monitor this folder" and "Poll only 
if opened"
NB> VZ> NB> (Iassumed it will give me behaviour which I had), but I get an 
assert and
NB> VZ> NB> the options are not checked when I reopen folder Properties.
NB> VZ> 
NB> VZ>  Sorry, which assert and where? FWIW I use these options on my (IMAP) 
INBOX
NB> VZ> since always.
NB> 
NB> ASSERT INFO:
NB> .src/gui/wxOptionsDlg.cpp(4071): assert "!m_folder" failed in 
GetFolderFromProfile(): creating the folder twice

 This looks harmless but I still don't understand how does this happen :-(

NB> BACKTRACE:
NB> [1] wxOnAssert(char const*, int, char const*, char const*, wchar_t const*)
NB> [2] wxOptionsPageNewMail::GetFolderFromProfile() 
/a/M/M.build.gtk2.nonutf8/src/.src/gui/wxOptionsDlg.cpp:4071
NB> [3] wxOptionsPageNewMail::DoTransferOptionsToWindow() 
/a/M/M.build.gtk2.nonutf8/src/.src/gui/wxOptionsDlg.cpp:4085
NB> [4] wxOptionsPage::TransferDataToWindow() 
/a/M/M.build.gtk2.nonutf8/src/.src/gui/wxOptionsDlg.cpp:2937
NB> [5] wxOptionsEditDialog::TransferDataToWindow() 
/a/M/M.build.gtk2.nonutf8/src/.src/gui/wxDialogLayout.cpp:1423
NB> [6] wxFolderPropertiesDialog::TransferDataToWindow() 
/a/M/M.build.gtk2.nonutf8/src/.src/gui/wxMFolderDialogs.cpp:957
NB> [7] wxWindowBase::OnInitDialog(wxInitDialogEvent&)

 Normally GetFolderFromProfile() should only be called from here and
TransferDataToWindow() should only be called once when the dialog is
created. Could you please put a breakpoint on the frame [2] and check where
is it called from the first time?

 Also, if the bug is reproducible, could you please tell me what exactly
needs to be done to see it?

 Thanks,
VZ

Attachment: pgpTdsvdPavJH.pgp
Description: PGP signature

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Mahogany-Developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to