Bug 342398 - Documentation window content assignment issue
Summary: Documentation window content assignment issue
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.14.3 (KDE Applications 4.14.3)
Platform: Other Other
: NOR major
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-01 22:45 UTC by Ralf Habacker
Modified: 2015-01-13 14:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.15.2 (KDE 14.12.2)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2015-01-01 22:45:33 UTC
Entered text in the documentation window is saved into the wrong widgets.

Reproducible: Always

Steps to Reproduce:
1. open umbrello
2. make documentation window visible
3. add a class to the class diagram
4. select the class and enter "class" in the doc window
5. select empty space in the class diagram
6. enter "class diagram" in the doc window
7. select empty space in the class diagram
8. select class  in the class diagram


Actual Results:  
The documentation of the class is "class diagram", the documentation of the class diagram is empty.

Expected Results:  
The documentation of the class should be "class" and the documentation of the class diagram "class diagram".

There is something wrong with the documention window update implementation after focus change. The documentation window is unusable because of this issue.
Comment 1 James W 2015-01-01 23:18:51 UTC
Hi there,
I can also reproduce this on KDE 4.14.3 with 2.14.3.
Comment 2 Ralf Habacker 2015-01-13 14:30:26 UTC
Git commit d3e0c3b9630de83adc27a9f350969657064a7c00 by Ralf Habacker.
Committed on 13/01/2015 at 14:14.
Pushed by habacker into branch 'Applications/14.12'.

Fix 'Documentation window content assignment issue'.

We should select the correct object pointer in relation to the
currently used documentation window content type for updating.
Otherwise the order of object/scene/widget selection wrongly
determines which object is updated.

M  +7    -5    umbrello/docwindow.cpp

http://commits.kde.org/umbrello/d3e0c3b9630de83adc27a9f350969657064a7c00