This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6324 - Close tab always activate.
Summary: Close tab always activate.
Status: NEW
Alias: None
Product: Amaya
Classification: Unclassified
Component: Misc (show other bugs)
Version: 10.1-pre5
Hardware: Macintosh MacOS X
: P2 major
Target Milestone: ---
Assignee: Vatton
QA Contact: Vatton
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-19 10:27 UTC by Pascal Pignard
Modified: 2013-11-05 20:41 UTC (History)
6 users (show)

See Also:


Attachments

Description Pascal Pignard 2008-12-19 10:27:54 UTC
In Amaya 11 on Mac, the tab management is much more convenient ;-)
But when only one file is edited, the "close tab" menu is still activate.
So when you have many tabs open and you type quickly many times <cmd>W then Amaya crashes see following report.

Version: 11.0. (11.0.)

PID:    178
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0xff7b7e4f

Thread 0 Crashed:
0   fr.inria.amaya           	0x001fc0f8 AmayaSplittablePage::OnClose(wxCloseEvent&) + 168
1   fr.inria.amaya           	0x00303bc4 wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) + 156
2   fr.inria.amaya           	0x00303324 wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 160
3   fr.inria.amaya           	0x00303d70 wxEvtHandler::ProcessEvent(wxEvent&) + 204
4   fr.inria.amaya           	0x002fc680 wxWindowBase::Close(bool) + 132
5   fr.inria.amaya           	0x0028e9a8 AmayaAdvancedNotebook::ClosePage(int) + 248
6   fr.inria.amaya           	0x000ad914 AmayaCloseTab(int, int) + 100
7   fr.inria.amaya           	0x00145cac TtaExecuteMenuActionFromActionId(int, int, int, unsigned char) + 336
8   fr.inria.amaya           	0x00303bc4 wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) + 156
9   fr.inria.amaya           	0x00303324 wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 160
10  fr.inria.amaya           	0x00303d70 wxEvtHandler::ProcessEvent(wxEvent&) + 204
11  fr.inria.amaya           	0x00303ab8 wxEvtHandler::ProcessPendingEvents() + 112
12  fr.inria.amaya           	0x00373158 wxAppConsole::ProcessPendingEvents() + 132
13  fr.inria.amaya           	0x00379d0c wxApp::MacHandleOneEvent(void*) + 80
14  fr.inria.amaya           	0x00379c00 wxApp::MacDoOneEvent() + 164
15  fr.inria.amaya           	0x004ce1d4 wxEventLoop::Dispatch() + 52
16  fr.inria.amaya           	0x004c95d0 wxEventLoopManual::Run() + 252
17  fr.inria.amaya           	0x00388488 wxAppBase::MainLoop() + 128
18  fr.inria.amaya           	0x00374010 wxEntry(int&, wchar_t**) + 124
19  fr.inria.amaya           	0x001425b0 main + 24
20  fr.inria.amaya           	0x00002598 _start + 392 (crt.c:267)
21  dyld                     	0x8fe01048 _dyld_start + 60

Hope this help.
Comment 1 Vatton 2009-01-08 14:39:49 UTC
In next version Amaya won't crash. The current tab will be closed and an empty page will be displayed in the window.
Comment 2 Pascal Pignard 2009-05-24 10:04:25 UTC
In Amaya 11.2-pre3, the "empty" page is displayed when closing active page.
But when I close I reload a page and close it after, the "empty" page won't be displayed!?
And then all menu are disactivated.
Hope this help.
Pascal.