Bug 57046 - Tyler visualisation window can't be closed
Summary: Tyler visualisation window can't be closed
Status: RESOLVED FIXED
Alias: None
Product: noatun
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Neil Stevens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-09 17:50 UTC by Moritz Moeller-Herrmann
Modified: 2004-06-21 16:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Moeller-Herrmann 2003-04-09 17:50:35 UTC
Version:           2.2.1 (using KDE 3.1.1)
Installed from:     (testing/unstable)
Compiler:          gcc version 3.2.3 20030309 (Debian prerelease)
OS:          Linux (i686) release 2.4.20-2003-4-7+swsusp

The window of the Tyler visualisation plugin, can not be closed or switched off using the window decoration of kwin. It simply does not react to mouseclicks like the better behaved plugins.
Comment 1 Charles Samuels 2003-08-11 06:19:22 UTC
SDL's QUIT event isn't handled 
 
I tried to modify the code so it would be, but then it just stops randomly :(  I don't know 
what voodoo is going on that this happens.  Maybe it's the SIGPIPE? 
 
-Charles 
 
Comment 2 Neil Stevens 2003-08-11 06:27:35 UTC
I don't know what the plugin should do if you try to close it.  Does libnoatun 
give a way for plugins to unload themselves? 
Comment 3 Charles Samuels 2003-08-11 06:52:38 UTC
Well, according to the code, if the child process exits, the plugin unloads itself (with 
Plugin::unload(), in fact :) 
 
in check_events() (renderer.c), add: 
 
if (event.type == SDL_QUIT) 
{ 
	finished = 1; 
	return; 
} 
 
immediately after: 
SDL_PollEvent(&event); 
 
And you'll see what I mean.  It just gets that SDL_QUIT event out of nowhere. 
 
 
 
Comment 4 Stefan Gehn 2004-06-21 16:58:39 UTC
Fixed in CVS, fix will appear in KDE 3.3