<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>6324</bug_id>
          
          <creation_ts>2008-12-19 10:27:54 +0000</creation_ts>
          <short_desc>Close tab always activate.</short_desc>
          <delta_ts>2013-11-05 20:41:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Amaya</product>
          <component>Misc</component>
          <version>10.1-pre5</version>
          <rep_platform>Macintosh</rep_platform>
          <op_sys>MacOS X</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pascal Pignard">abo.pignard</reporter>
          <assigned_to name="Vatton">Irene.Vatton</assigned_to>
          <cc>carcone</cc>
    
    <cc>emilien.kia</cc>
    
    <cc>fred.wang</cc>
    
    <cc>Irene.Vatton</cc>
    
    <cc>jerrold_siegel</cc>
    
    <cc>vincent.quint</cc>
          
          <qa_contact name="Vatton">Irene.Vatton</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>22812</commentid>
    <comment_count>0</comment_count>
    <who name="Pascal Pignard">abo.pignard</who>
    <bug_when>2008-12-19 10:27:54 +0000</bug_when>
    <thetext>In Amaya 11 on Mac, the tab management is much more convenient ;-)
But when only one file is edited, the &quot;close tab&quot; menu is still activate.
So when you have many tabs open and you type quickly many times &lt;cmd&gt;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&amp;) + 168
1   fr.inria.amaya           	0x00303bc4 wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&amp;, wxEvtHandler*, wxEvent&amp;) + 156
2   fr.inria.amaya           	0x00303324 wxEventHashTable::HandleEvent(wxEvent&amp;, wxEvtHandler*) + 160
3   fr.inria.amaya           	0x00303d70 wxEvtHandler::ProcessEvent(wxEvent&amp;) + 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&amp;, wxEvtHandler*, wxEvent&amp;) + 156
9   fr.inria.amaya           	0x00303324 wxEventHashTable::HandleEvent(wxEvent&amp;, wxEvtHandler*) + 160
10  fr.inria.amaya           	0x00303d70 wxEvtHandler::ProcessEvent(wxEvent&amp;) + 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&amp;, 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22996</commentid>
    <comment_count>1</comment_count>
    <who name="Vatton">Irene.Vatton</who>
    <bug_when>2009-01-08 14:39:49 +0000</bug_when>
    <thetext>In next version Amaya won&apos;t crash. The current tab will be closed and an empty page will be displayed in the window.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25281</commentid>
    <comment_count>2</comment_count>
    <who name="Pascal Pignard">abo.pignard</who>
    <bug_when>2009-05-24 10:04:25 +0000</bug_when>
    <thetext>In Amaya 11.2-pre3, the &quot;empty&quot; page is displayed when closing active page.
But when I close I reload a page and close it after, the &quot;empty&quot; page won&apos;t be displayed!?
And then all menu are disactivated.
Hope this help.
Pascal.



</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>