Bug 192154

Summary: there can be only one parley plasma widget
Product: [Applications] parley Reporter: Daniel <leva>
Component: generalAssignee: Parley Developers <parley-devel>
Status: RESOLVED FIXED    
Severity: normal CC: ashl1future, bugs, gladhorn, thelwyn
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Daniel 2009-05-09 19:14:06 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

When adding two or more parley widgets to a plasma workspace parley won't update both of the widgets, but only one. Two or more parley widgets can not coexist together with different dictionaries loaded into them.
Comment 1 Alexey Shildyakov 2009-06-18 01:49:47 UTC
Ok. I add the second widget instance with different vocabulary and really it update only last.
Hm... I open the Setting window for the first widget, click OK without changes and 2 widgets work normally. They both update words.
Comment 2 Kolia 2010-01-18 22:39:08 UTC
Alexey, Daniel,

Can you still reproduce this problem?
Comment 3 ancow 2010-01-18 23:00:54 UTC
Using KDE SC 4.4 RC1:

Not sure if this is the same bug, but having several widgets with different vocabularies confuses the heck out of parley, even after I change them back to the same one for each of them. (I have one parley widget on each of my four activities.)
The widgets wildly mix languages from each of the vocabularies, e.g. at the top it shows a word from vocabulary 1 and at the bottom one from vocabulary 2.

Also, the widgets, when they contain the same vocabulary, always show the same words and switch over in sync, suggesting that there is no real independance between the widgets.
Comment 4 Kolia 2010-01-18 23:06:34 UTC
@reini Yes this is more the bug i'm experiencing too. The 2 widgets I added work but change sometimes in sync even with different period.
Comment 5 Frederik Gladhorn 2010-01-20 17:40:57 UTC
SVN commit 1077675 by gladhorn:

keep track of multiple files properly
since the data engine can not know where the request came from, applets with the same file will always show the same words in sync.
BUG: 192154



 M  +28 -23    parley_engine.cpp  
 M  +3 -4      parley_engine.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1077675
Comment 6 ancow 2010-01-20 19:19:18 UTC
Thanks for the fix. One quick question, though: which version of the KDE SC will this fix be included in?
Comment 7 Frederik Gladhorn 2010-01-20 20:40:48 UTC
Since 4.4.0 rc2 has been tagged now, I can backport to 4.4.1 only. I'd rather not put it into 4.4.0
Cheers
Frederik
Comment 8 Frederik Gladhorn 2010-01-24 21:53:06 UTC
SVN commit 1079717 by gladhorn:

backport r 1077675 and 1077680
keep track of multiple files properly
since the data engine can not know where the request came from, applets with the same file will always show the same words in sync.
CCBUG: 192154
This will be in KDE 4.4.0



 M  +27 -23    parley_engine.cpp  
 M  +3 -4      parley_engine.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1079717