Bug 301661 - using the account assistent the last dialog overlaps all other modal windows
Summary: using the account assistent the last dialog overlaps all other modal windows
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: UI (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-11 16:16 UTC by Sven Assmann
Modified: 2012-06-12 06:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.5


Attachments
no dialogs will ever get the correct focus (177.16 KB, image/png)
2012-06-11 16:17 UTC, Sven Assmann
Details

Note You need to log in before you can comment on or make changes to this bug.
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