Bug 64922 - Searching in Quanta Documentation not working
Summary: Searching in Quanta Documentation not working
Status: RESOLVED FIXED
Alias: None
Product: quanta
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: András Manţia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-25 13:58 UTC by Dik Takken
Modified: 2003-12-08 21:56 UTC (History)
0 users

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 Dik Takken 2003-09-25 13:58:26 UTC
Version:            (using KDE KDE 3.1.3)
Installed from:    Compiled From Sources
OS:          Linux

When browsing the HTML/PHP/JavaScript documention with Quanta, searching for phrases never finds anything.
Comment 1 Dik Takken 2003-11-19 15:32:36 UTC
The search functionality for the documentation seems to be completely removed in Quanta 3.1.93. Choosing 'find' from the menu or pressing CTRL-F does not do anything.
Comment 2 András Manţia 2003-12-08 15:55:55 UTC
Subject: quanta_be: quanta/quanta

CVS commit by amantia: 

Partially restore search in the rendered document and the documentation. Doesn't work from the menu, only from the keyboard (CTRL-F) and causes some weird crash on exit... I will work on later.

CCMAIL: 64922@bugs.kde.org


  M +5 -1      quanta.cpp   1.387.2.33
  M +4 -5      quanta_init.cpp   1.380.2.17


--- quanta/quanta/quanta.cpp  #1.387.2.32:1.387.2.33
@@ -1334,4 +1334,5 @@ void QuantaApp::slotShowPreviewWidget(bo
       previousWidgetList.push_back(id);
       s->raiseWidget(1);
+      
     }
     m_previewVisible = true;
@@ -1344,4 +1345,5 @@ void QuantaApp::slotShowPreviewWidget(bo
       previousWidgetList.pop_back();
     }
+    guiFactory()->removeClient(m_htmlPart);
     s->raiseWidget(id);
     m_previewVisible = false;
@@ -1565,4 +1567,5 @@ void QuantaApp::slotDockChanged()
     static bool first = true;
     previousWidgetList.push_back(s->id(s->visibleWidget()));
+    guiFactory()->addClient(m_htmlPartDoc);
     s->raiseWidget(2);
     if ( first )
@@ -1590,4 +1593,5 @@ void QuantaApp::slotDockChanged()
       }
       s->raiseWidget(id);
+      guiFactory()->removeClient(m_htmlPartDoc);
       docTabOpened = false;
     }
@@ -1667,5 +1671,5 @@ void QuantaApp::slotContextHelp()
       if (dtabdock->isVisible()) m_oldTreeViewWidget = dtabdock;
       if (!dtabdock->isVisible()) dtabdock->changeHideShowState();
-
+      guiFactory()->addClient(m_htmlPartDoc);
       s->raiseWidget(2);
       m_htmlPartDoc->view()->setFocus();

--- quanta/quanta/quanta_init.cpp  #1.380.2.16:1.380.2.17
@@ -140,4 +140,6 @@ QuantaApp::QuantaApp() : KDockMainWindow
 QuantaApp::~QuantaApp()
 {
+ if (dtabdock->isVisible())
+   guiFactory()->removeClient(m_htmlPartDoc);
  tempFileList.clear();
  QDictIterator<ToolbarEntry> iter(toolbarList);
@@ -164,9 +166,6 @@ QuantaApp::~QuantaApp()
  dir.rmdir(tmpDir + "quanta");
 
- if(m_execCommandPS)
- {
   delete m_execCommandPS;
   m_execCommandPS = 0L;
- }
 }
 


Comment 3 András Manţia 2003-12-08 21:56:48 UTC
Subject: quanta_be: quanta

CVS commit by amantia: 

Make the search/select all in documentation and preview work also from the Edit menu.
Add a note about how we should do in the right way.
Port to HEAD comes soon.
Temporary fix for #69650.

CCMAIL: 64922-done@bugs.kde.org
CCMAIL: 69650@bugs.kde.org


  M +4 -0      TODO   1.13.2.2
  M +58 -18    quanta/quanta.cpp   1.387.2.34
  M +1 -0      quanta/quanta.h   1.179.2.9
  M +7 -3      quanta/quanta_init.cpp   1.380.2.18
  M +0 -1      quanta/quantaview.h   1.72.2.7
  M +0 -12     quanta/quantaview_slots.cpp   1.151.2.9
  M +4 -4      quanta/project/project.cpp   1.125.2.8