https://bugs.kde.org/show_bug.cgi?id=455772

            Bug ID: 455772
           Summary: smb4k 3.1.2 imports old
                    .kde4/share/apps/smb4k/bookmarks.xml and dislikes
                    format
           Product: Smb4k
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: alexander.reinho...@kdemail.net
          Reporter: henn...@hennsch.de
  Target Milestone: ---

SUMMARY

Updated smb4k from 3.1.1 to 3.1.2 and received a desktop notification that it
does not like its bookmark file anymore. I went ahead and moved it out so i
could simply recreate my two entries by creating them again via the
application. But starting the application again it had the same problem, turns
out it seems to revive a very old and meanwhile incompatible copy still hanging
around in my homedir.

STEPS TO REPRODUCE
1. killall smb4k; rm  .local/share/smb4k/bookmarks.xml; rm
.kde4/share/apps/smb4k/bookmarks.xml
2. create .kde4/share/apps/smb4k/bookmarks.xml with contents
<?xml version="1.0" encoding="UTF-8"?>
<bookmarks version="1.1">
    <bookmark profile="" group="">
        <workgroup>WORKGROUP</workgroup>
        <unc>//192.168.1.42/media</unc>
        <login></login>
        <ip></ip>
        <type>Disk</type>
        <label></label>
    </bookmark>
</bookmarks>

3. smb4k

OBSERVED RESULT

popup disliking that bookmark file, which the app imported itself, plus in fact
that popup for the config i had and which was probably working before

EXPECTED RESULT

warnings about the outdated config in the "new" place can and should probably
stay, when old file is revived it should probably silently skip bookmarks it
does not like, or the whole list in case its a "global" thing, or if those old
files can not be used for sure ... the revive code should not be exectuted at
all

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.24.5
(available in About System)
KDE Plasma Version: 5.24.5
KDE Frameworks Version:  5.92.0
Qt Version: 5.15.4

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to