Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163264 - app-doc/kchmviewer-2.7 doesn't quit when compiled with USE=kde
Summary: app-doc/kchmviewer-2.7 doesn't quit when compiled with USE=kde
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-22 17:13 UTC by Norberto Bensa
Modified: 2007-06-17 12:17 UTC (History)
1 user (show)

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


Attachments
Patch for kchmviewer-2.7 (kchmviewer-quit-on-close.patch,359 bytes, patch)
2007-01-22 17:13 UTC, Norberto Bensa
Details | Diff
ebuild diff (just one line) (kchmviewer-2.7.ebuild.diff,414 bytes, patch)
2007-01-22 17:15 UTC, Norberto Bensa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Norberto Bensa 2007-01-22 17:13:13 UTC
The author forgot to set the mainwidget. The attached patch fixed the problem here. I've mailed the author but I'm still waiting for a reply.

Reproducible: Always

Steps to Reproduce:
1. USE=kde emerge kchmviewer

Actual Results:  
Load a chm file. Close the window either clicking on close on the window decoration or selecting file/quit. Window disappears but a ps ax|grep kchm shows kchmviewer is still running.

Expected Results:  
kchmviewer should close and kill the application
Comment 1 Norberto Bensa 2007-01-22 17:13:55 UTC
Created attachment 107808 [details, diff]
Patch for kchmviewer-2.7
Comment 2 Norberto Bensa 2007-01-22 17:15:29 UTC
Created attachment 107810 [details, diff]
ebuild diff (just one line)
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2007-01-22 17:59:55 UTC
UPSTREAM seems to answer on mails just before they issue new release... I have not looked into sources, but could that be intentional to leave chm process running? Also I found that that processes are dying later on my system. Something in 1-2 minutes ps does not show any chm process...
Comment 4 Norberto Bensa 2007-01-22 22:50:29 UTC
> but could that be intentional to leave chm process
> running?

Why?

If I open two or three chm files, I get two or three processes. There's no 
reuse.


> Also I found that that processes are dying later on my system.
> Something in 1-2 minutes ps does not show any chm process...

Perhaps just a KDE feature. I think not setting the mainwidget it's a bug in 
kchmviewer which should be fixed, but I'll wait the official reply from George (kchmviewer's developer) just in case :)


Best regards,
Norberto
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2007-03-16 08:57:09 UTC
kchmviewer-3.0 is out. So what is the status here?
Comment 6 Daniel Lange 2007-06-17 09:05:31 UTC
Bug has been fixed in the 3.1-2 release (-2 because the original 3.1 did not upload to sf.net well).

The gentoo fixes have also made it upstream, so we can cut the patches out of the to-be bumped 3.0 ebuild.
Comment 7 Wulf Krueger (RETIRED) gentoo-dev 2007-06-17 12:17:49 UTC
I've just commited kchmviewer-3.1_p2 to CVS. It does indeed fix the issue described here.