Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-08-07 02:36:19



Reply to topic  [ 2 posts ] 
Viewer deadlocks while file dialog is open 
Author Message

Joined: 2009-09-08 01:27:46
Posts: 172
Reply with quote
When you open a file dialog to save or load something, the viewer is completely deadlocked: it will not do anything while the file dialog is open. This normally would not be much of a problem. However, networking is also deadlocked while the file dialog is open. If you take too long in the file dialog (having trouble locating a file, for instance), then the connection times out, and you get booted when you close the file dialog.

Would it be possible to put in some kind of "keep alive" workaround to prevent this?


2010-07-21 12:21:48
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 6028
Reply with quote
Please note that this issue is not specific to the Cool VL Viewer but applies to all viewers (official or not)... You should therefore open a new issue on the JIRA (if it doesn't already exist).
This "deadlock" is the result of the GTK file picker monopolizing the glib event loop. A solution would be to thread the call to the file picker, if at all possible (I have bad, old memories with GTK+ threads, though it was GTK+ v1 back then)...


2010-07-21 17:33:15
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 42 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.