View Issue Details

IDProjectCategoryView StatusLast Update
0013400ScribusUser Interfacepublic2016-04-04 01:06
ReporterKunda Assigned Tojghali  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
PlatformMacOSOSXOS Version10.10.5
Product Version1.5.1svn 
Fixed in Version1.5.2.svn 
Summary0013400: Help > Scribus Homepage hangs Scribus
DescriptionClicking any of the Dropdown Help links that are webpages will give this error
"Close Firefox
A copy of Firefox is already open. Only one copy of Firefox can be open at a time."
 https://www.dropbox.com/s/ont5l3mru6luium/Screenshot%202015-10-08%2007.43.25.png

and
makes Scribus unresponsive thereafter.
Additional InformationOSX 10.10.5
1.5.1svn 20445
TagsNo tags attached.
PatchYes

Relationships

related to 0013198 closedcbradney [Support] Add 'Chat' item to "Help" Dropdown 
related to 0013848 closedjghali Sub-processes launched from Scribus will block the Scribus mainloop until the other application is closed 

Activities

cbradney

2015-10-08 21:30

administrator   ~0036554

No issue here on Firefox or Chrome

Kunda

2015-10-08 22:56

updater   ~0036560

Craig,
Firefox must be open already. Then you invoke the dropdown.

Another issue: When FF is closed and I invoke the help menu link, it opens the page correctly but then Scribus hangs. I can eventually get back to the Scribus UI but not actually do anything.

Kunda

2015-10-09 03:28

updater   ~0036563

Juraj indicated to me this is a FF issue. But doesn't explain the slowdown and hanging of Scribus I'm experiencing.

cbradney

2015-10-12 17:27

administrator   ~0036654

Seeing nothing here.. no adverse affects.

Kunda

2015-10-12 18:40

updater   ~0036656

Craig, do you think this is because I'm building Scribus via Homebrew ?
Would you upload a OSX build for Mavericks compiled from HEAD to SF so I can test ?

jurajF

2016-03-30 16:01

reporter  

0001-Unresponsive-Scribus-while-external-browser-run.patch (1,181 bytes)   
From 0c71fbffd45450fcaafddebd5a3b44db52b1ebb5 Mon Sep 17 00:00:00 2001
From: Juraj Fedel <wtxnh-scribus@yahoo.com.au>
Date: Wed, 30 Mar 2016 17:57:42 +0200
Subject: [PATCH] Unresponsive Scribus while external browser run

---
 scribus/urllauncher.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scribus/urllauncher.cpp b/scribus/urllauncher.cpp
index b384c59..859e73f 100644
--- a/scribus/urllauncher.cpp
+++ b/scribus/urllauncher.cpp
@@ -71,8 +71,8 @@ void UrlLauncher::launchUrlExt(const QUrl& link, QWidget *parent)
 		{
 			QStringList args;
 			args << link.toString();
-			int ret=System(extBrowser, args);
-			if (ret!=0)
+			bool ok = QProcess::startDetached(extBrowser, args);
+			if (!ok)
 			{
 				QMessageBox::StandardButton sb=ScMessageBox::critical(p, tr("External Web Browser Failed to Start"), tr("Scribus was not able to start the external web browser application %1. Please check the setting in Preferences.\nWould you like to start the system's default browser instead?").arg(PrefsManager::instance()->extBrowserExecutable()), QMessageBox::Ok|QMessageBox::Cancel, QMessageBox::Ok);
 				if (sb==QMessageBox::Ok)
-- 
2.1.4

jurajF

2016-03-30 16:04

reporter   ~0039544

Patch will probably not solve your problem with FireFox (did you try if other browser have same problem?).
It should however make scribus usable independently of fact if browser is running or not.

jghali

2016-04-03 21:50

administrator   ~0039736

Patch applied, thanks jurajF!

Kunda

2016-04-04 01:06

updater   ~0039742

Interestingly enough I can't reproduce this issue
Thanks for the patch JurajF
Thanks for applying jghali (r21157)
Closing

Issue History

Date Modified Username Field Change
2015-10-08 12:56 Kunda New Issue
2015-10-08 17:31 Kunda Relationship added related to 0013198
2015-10-08 21:30 cbradney Note Added: 0036554
2015-10-08 22:56 Kunda Note Added: 0036560
2015-10-09 03:28 Kunda Note Added: 0036563
2015-10-12 11:40 Kunda Summary Help > Scribus Homebpage throws error if Firefox is already open => Help > Scribus Homebpage hangs Scribus
2015-10-12 11:40 Kunda Description Updated
2015-10-12 17:27 cbradney Note Added: 0036654
2015-10-12 18:40 Kunda Note Added: 0036656
2016-03-30 14:49 Kunda Relationship added related to 0013848
2016-03-30 16:01 jurajF File Added: 0001-Unresponsive-Scribus-while-external-browser-run.patch
2016-03-30 16:04 jurajF Note Added: 0039544
2016-03-30 17:11 Kunda Patch No => Yes
2016-04-03 21:46 jghali Summary Help > Scribus Homebpage hangs Scribus => Help > Scribus Homepage hangs Scribus
2016-04-03 21:50 jghali Note Added: 0039736
2016-04-03 21:50 jghali Status new => resolved
2016-04-03 21:50 jghali Fixed in Version => 1.5.2.svn
2016-04-03 21:50 jghali Resolution open => fixed
2016-04-03 21:50 jghali Assigned To => jghali
2016-04-04 01:06 Kunda Note Added: 0039742
2016-04-04 01:06 Kunda Status resolved => closed