Bug 159888 - [patch] Name-Value values from an existing Map entry are shown when creating a new Map entry
Summary: [patch] Name-Value values from an existing Map entry are shown when creating ...
Status: RESOLVED FIXED
Alias: None
Product: kwalletmanager
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Leupold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-26 11:09 UTC by Marc Symonds
Modified: 2008-05-08 01:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch (746 bytes, patch)
2008-04-29 14:02 UTC, Michael Leupold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Symonds 2008-03-26 11:09:27 UTC
Version:           1.1 (using 3.5.9-5.fc8 Fedora, Fedora release 8 (Werewolf))
Compiler:          Target: i386-redhat-linux
OS:                Linux (i686) release 2.6.24.3-34.fc8

My wallet has the following folder structure:-

Passwords
  Binary Data
  Maps
    Apple
    Yahoo
  Passwords
  Unknown

If I click on the "Apple" folder, I am shown the name-value entries in the are on the right of the form. If I then click on the "Maps" folder there area on the right is cleared and just shows the name of the root folder "Passwords".

I then right click on the "Maps" folder and select the "New ..." option. I am asked for a name for the new folder. After entering the name and clicking OK the name is added to the list below the "Maps" folder, and the name-value entries for the "Apple" folder are shown in the area on the right.

If I then click on any other folder but the the one I just created, and then click on the folder that I just created, then the area on the right contains no name-value entries, which is what I would have expected in the first place.
Comment 1 Michael Leupold 2008-04-29 09:15:14 UTC
I can confirm this on 3.5.9.
Comment 2 Michael Leupold 2008-04-29 09:19:51 UTC
Confirmed for trunk r801861 as well.
Comment 3 Michael Leupold 2008-04-29 14:02:40 UTC
Created attachment 24559 [details]
patch

This patch supposably fixes this issue by changing the order to
(1) creating the new entry
(2) selecting the new entry

(instead of the other way round)
Comment 4 Michael Leupold 2008-05-08 01:53:41 UTC
SVN commit 805256 by mleupold:

Reverse the order of commands when creating a new map so the table-view with the passwords is loaded only when the map has been created. Also remove the entry from the listview
if creating it was unsuccessful.

BUG: 159888


 M  +5 -2      kwalleteditor.cpp  


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