View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006932 | Scribus | Usability | public | 2008-04-08 18:03 | 2008-04-13 22:26 |
Reporter | Alpha1650 | Assigned To | subik | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 1.3.5svn | ||||
Summary | 0006932: scribus main window always catches attention while running long-during script | ||||
Description | Hello, I wrote a script that runs about 20 to 30 minutes. I use this time to do other things but Scribus seems that it doesn't want me to do other stuff. It often pops up and disturbs me. I talked to avox about the issue and he said that it might be possible to let the main window raise only if the scriptrunning-flag isn't set. I tried to implement this by adding three if-statements. The patch is appended. I hope it's right and helps. Greetings! p.s.: Currently rerunning the script for testing reasons, seems to work ... | ||||
Tags | No tags attached. | ||||
Patch | |||||
2008-04-08 18:03
|
raise.txt (1,126 bytes)
Index: scribus/scribusview.cpp =================================================================== --- scribus/scribusview.cpp (Revision 11949) +++ scribus/scribusview.cpp (Arbeitskopie) @@ -811,7 +811,8 @@ e->acceptProposedAction(); //<<#3524 activateWindow(); - raise(); + if (!m_ScMW->ScriptRunning) + raise(); m_ScMW->newActWin(Doc->WinHan); updateContents(); //>> Index: scribus/scribus.cpp =================================================================== --- scribus/scribus.cpp (Revision 11949) +++ scribus/scribus.cpp (Arbeitskopie) @@ -6679,7 +6679,8 @@ void ScribusMainWindow::setMainWindowActive() { activateWindow(); - raise(); + if(! ScriptRunning) + raise(); } void ScribusMainWindow::setItemTypeStyle(int id) @@ -7753,7 +7754,8 @@ // pdfToolBar->initVisibility(); activateWindow(); - raise(); + if(! ScriptRunning) + raise(); } void ScribusMainWindow::doPrintPreview() |
Date Modified | Username | Field | Change |
---|---|---|---|
2008-04-08 18:03 | Alpha1650 | New Issue | |
2008-04-08 18:03 | Alpha1650 | File Added: raise.txt | |
2008-04-09 19:26 | subik | Status | new => assigned |
2008-04-09 19:26 | subik | Assigned To | => subik |
2008-04-09 19:48 | subik | Status | assigned => resolved |
2008-04-09 19:48 | subik | Fixed in Version | => 1.3.5svn |
2008-04-09 19:48 | subik | Resolution | open => fixed |
2008-04-13 22:26 | jghali | Status | resolved => closed |