Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72110 (kdeaddons_crash) - konqueror crash when closing preview in embedded ark
Summary: konqueror crash when closing preview in embedded ark
Status: RESOLVED UPSTREAM
Alias: kdeaddons_crash
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-22 11:14 UTC by Gleb Litvjak
Modified: 2004-11-22 12:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gleb Litvjak 2004-11-22 11:14:14 UTC
There is a problem: when you click an archive on a web page, it is opened in ark, embedded in konqueror window. If you double-click a file in archive (picture, for example), a preview window appears. If you close it, konqueror segfaults. The solution is already found, one string must be changed (http://cvs-digest.org/index.php?diff&file=kdeaddons/konq-plugins/rellinks/plugin_rellinks.cpp,v&version=1.32.2.2).
This patch should be included in kdeaddons ebuild, as the bug is very annoying.

Reproducible: Always
Steps to Reproduce:
1.Open up konqueror
2.Navigate to any web page containing a link to an archive
3.Middle-click it to open it in a new tab
4.Double click an image inside the archive
5.Close the preview window

Actual Results:  
Konqueror crashes. 

Expected Results:  
Konqueror should not crash
Comment 1 Gleb Litvjak 2004-11-22 11:26:02 UTC
===========================CUT HERE============================================
*** konq-plugins/rellinks/plugin_rellinks.cpp   2004-07-17 20:51:20.000000000 +0300
--- konq-plugins/rellinks/plugin_rellinks.cpp   2004-11-22 21:04:15.649918512 +0200
***************
*** 216,224 ****
  }

  /** Destructor */
  RelLinksPlugin::~RelLinksPlugin() {
!     if (m_toolBar != 0)
          m_toolBar->saveSettings(kconfig, "Position");
      delete kconfig;
      delete m_conf;
  }
--- 216,224 ----
  }

  /** Destructor */
  RelLinksPlugin::~RelLinksPlugin() {
!     if (m_toolBar && dynamic_cast<QMainWindow*>(m_toolBar->parent()))
          m_toolBar->saveSettings(kconfig, "Position");
      delete kconfig;
      delete m_conf;
  }
===========================CUT HERE============================================
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2004-11-22 12:21:36 UTC
Please open a bug at bugs.kde.org or get in contact with kde developers via the appropriate mailing list http://www.kde.org/mailinglists/. Usually we do apply critical/security patches only. And always attach patches, ebuilds, etc. as plain text, do not inline them. 

Caleb, I let this one open, in case you want to add the fix to the next bugfix release, if it's not included. Please resolve it as you like.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2004-11-22 12:27:00 UTC
Oh well, reading is not my strength. Gleb: The next KDE 3.3 update will be out in less than two weeks. I hope you can wait that long. ;)