Bug 56318 - "Close current tab" icon does not appear when adding first tab
Summary: "Close current tab" icon does not appear when adding first tab
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 54037 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-03-24 15:18 UTC by Alex Walker
Modified: 2003-05-17 16:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Walker 2003-03-24 15:18:13 UTC
Version:           Konqueror 3.1.0 (Using KDE 3.1.90  (CVS >= 20030225)) (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc (GCC) 3.2.2 CHOST="i686-pc-linux-gnu",  CXXFLAGS & CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays"
OS:          Linux

In konqueror, if no tabs are open and a link is middle-clicked in the window to open in a new background tab, the tab appears and the link loads fine, but the icon for delete tab remains greyed out for the first tab until a switch to and from the new tab is done.
Comment 1 Maksim Orlovich 2003-05-13 04:40:01 UTC
Can confirm w/link context menu creation of the tab.  
 
Comment 2 Maksim Orlovich 2003-05-13 05:46:28 UTC
Subject: kdebase/konqueror

CVS commit by orlovich: 


Enable the remove tab button as appropriate when creating new tabs 
in background when clicking on link/using context menu (#56318)

CCMAIL: 56318-done@bugs.kde.org


  M +2 -0      konq_mainwindow.cc   1.1165


--- kdebase/konqueror/konq_mainwindow.cc  #1.1164:1.1165
@@ -465,4 +465,6 @@ void KonqMainWindow::openURL( KonqView *
     if ( req.newTabInFront )
       m_pViewManager->showTab( view );
+   
+    updateViewActions(); //A new tab created -- we may need to enable the "remove tab" button (#56318)
   }
 


Comment 3 Maksim Orlovich 2003-05-17 16:50:04 UTC
*** Bug 54037 has been marked as a duplicate of this bug. ***