Summary: | 4 blinking carets in the "Find in Files" dialog window | ||
---|---|---|---|
Product: | [Developer tools] kdevplatform | Reporter: | Konrad Twardowski <kdtonline> |
Component: | grepview | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | 1.3.0 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Konrad Twardowski
2005-01-18 19:32:14 UTC
Yeah.. this happens. And it sucks. I have no idea what causes it though. The grep dialog is a non-modal dialog, but that's the only obvious pecularity. I guess it could just as well be a modal dialog, but this change would mean changing a fair amount of code, IIRC. (Well.. that or keep the dialog on the heap, which is where it lives right now.) SVN commit 618040 by dagerbo: Stop with the blinking already! BUG: 97376 M +8 -1 grepdlg.cpp M +1 -0 grepdlg.h --- branches/kdevelop/3.4/parts/grepview/grepdlg.cpp #618039:618040 @@ -335,11 +335,18 @@ // not beautiful, but works with all window // managers and Qt versions if (isVisible()) - QDialog::hide(); + hide(); +// QDialog::hide(); QDialog::show(); pattern_combo->setFocus(); } +void GrepDialog::hide() +{ + pattern_combo->setFocus(); + QDialog::hide(); +} + void GrepDialog::slotSynchDirectory( ) { KParts::ReadOnlyPart * part = dynamic_cast<KParts::ReadOnlyPart*>( m_part->partController()->activePart() ); --- branches/kdevelop/3.4/parts/grepview/grepdlg.h #618039:618040 @@ -61,6 +61,7 @@ { return keep_output_box->isChecked(); } void show(); + void hide(); signals: void searchClicked(); |