Bug 301661

Summary: using the account assistent the last dialog overlaps all other modal windows
Product: [Applications] kmail2 Reporter: Sven Assmann <sven.assmann>
Component: UIAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: montel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.5
Sentry Crash Report:
Attachments: no dialogs will ever get the correct focus

Description Sven Assmann 2012-06-11 16:16:56 UTC
After using the account assistent the last step (where kwallet access dialog comes up) the account dialog overlaps all other dialogs especial when the kwallet dialog comes up and will never get the focus in terms on getting on top of z-index visibility

please see screenshot

Reproducible: Always

Steps to Reproduce:
1.Create new Account using assistent
2.step to the end (last step when kwallet dialog comes up)
3.the kwallet window (and all other) will never get the focus in terms of z-index visibility
Comment 1 Sven Assmann 2012-06-11 16:17:40 UTC
Created attachment 71740 [details]
no dialogs will ever get the correct focus
Comment 2 Sven Assmann 2012-06-11 16:19:10 UTC
this occures in the latest kde neon project that comes from kubuntu ppa
Comment 3 Laurent Montel 2012-06-12 06:43:18 UTC
I retested here. And it works fine.

We use:
void SetupManager::openWallet()
{
  using namespace KWallet;
  if ( Wallet::isOpen( Wallet::NetworkWallet() ) )
    return;

  Q_ASSERT( parent()->isWidgetType() );
  Wallet *w = Wallet::openWallet( Wallet::NetworkWallet(), qobject_cast<QWidget*>( parent() )->effectiveWinId(), Wallet::Asynchronous );
  QEventLoop loop;
  connect( w, SIGNAL(walletOpened(bool)), &loop, SLOT(quit()) );
  loop.exec();
}

so parent is accountwizard and it can be on top of this.
I can't reproduce it.
But ok for other dialogbox I can reproduce some bugs about it.
Comment 4 Laurent Montel 2012-06-12 06:46:07 UTC
Fixed in 4.8.5/4.9