Bug 263934

Summary: Oxygen style + "Animate tab" + transparent bg causes visual glitch
Product: [Applications] konsole Reporter: Nikos Chantziaras <realnc>
Component: tabbarAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: adaptee, francesco.cecconi, ivan
Priority: NOR    
Version: 2.11   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nikos Chantziaras 2011-01-22 01:43:59 UTC
Version:           unspecified (using KDE 4.5.95) 
OS:                Linux

When the "Animate tab transitions" setting is enabled for Oxygen and Konsole is configured with a transparent background, switching tabs in Konsole (and Yakuake) results in the transition fading completely to black and then back to transparent.  Though it's not the end of the world, it's quite annoyingly distractive.

Reproducible: Always

Steps to Reproduce:
Enter System Settings, Application Appearance, Style, select Oxygen, click "Configure...".  In the "General" tab, activate the "Enable animations" as well as the "Animate tab transitions" checkboxes.

Run Konsole or Yakuake, and configure the current profile to use transparency. This is done by: Right clicking inside the terminal, select "Configure Current Profile...", go to the "Appearance" tab and click the "Edit..." button.  Adjust the transparency slider to something like 12%.  Apply all settings and close all dialogs.  Now open new tabs (easiest way by double clicking at an empty area at the bottom where the tabs are shown) and switch between them.

Actual Results:  
Switching the tabs triggers the visual glitch.

Expected Results:  
During tab switching, the background should stay transparent and not fade to black.
Comment 1 Nikos Chantziaras 2011-01-28 14:14:18 UTC
Updated to 4.6 release version. The issue persists.
Comment 2 Ivan D Vasin 2011-03-16 18:45:03 UTC
still present in Konsole 2.6.1, KDE 4.6.1.
Comment 3 Nikos Chantziaras 2011-04-06 23:04:44 UTC
Also still present in KDE 4.6.2.
Comment 4 Kurt Hindenburg 2011-04-10 18:09:55 UTC
confirmed
Comment 5 Kurt Hindenburg 2011-04-10 20:55:57 UTC
The issue is that Konsole uses its own code to move tabs.  This is due to

KTabBar:
Note, however, that QTabBar::setMovable(true) disables dragging tabs out of the KTabBar (e.g., dragging the tab URL from Konqueror to another application)! 

--
So as long as we want to move tabs between Konsole windows, we can't use setMovable.
Comment 6 Jekyll Wu 2011-09-13 23:56:59 UTC
In KDE-4.7, the "Animate tab transitions" feature seems removed from the Oxygen style.
Comment 7 Nikos Chantziaras 2011-09-14 00:00:24 UTC
(In reply to comment #6)
> In KDE-4.7, the "Animate tab transitions" feature seems removed from the Oxygen
> style.

Er, no, it's still there.
Comment 8 Nikos Chantziaras 2012-10-19 14:08:30 UTC
Issue still there in KDE 4.9.2.
Comment 9 Nikos Chantziaras 2012-11-24 05:47:21 UTC
Problem persists in KDE 4.9.3.