This forum has been archived. All content is frozen. Please use KDE Discuss instead.

3.2dev: issues with DND files migration

Tags: None
(comma "," separated)
MoDaX
Registered Member
Posts
241
Karma
0
OS
Hello,

Some changes have been made with regard to DND file handling quite recently.

1) DND files are now named file{number}.dnd instead of the previous stucture. This makes going back to 3.1.x from 3.2dev quite dangerous. For example, when going back from 3.2dev to 3.1.5 the latter recreates DND files using the previous structure and later switching back to 3.2dev again causes a lot of file overwrite boxes to appear because 3.2dev attempts to migrate the DND files 3.1.5 has recreated to the new stucture again, but obviously file{number}.dnd already exists. Please at least warn a user about downgrading and detect a possible presence of file{number}.dnd while migrating.

2) When DND files are migrated (moved) from 3.1.x to 3.2dev structure, progressinfo is not hidden. This makes migration VERY painful and slow with lots of useless notifications on KDE 4.2. Please fix this and be very careful about ProgressInfo in the future. Useless and highly repetitive ProgressInfo is a huge slow down on KDE 4.2.
George
Moderator
Posts
5421
Karma
1
MoDaX wrote:Hello,

Some changes have been made with regard to DND file handling quite recently.

1) DND files are now named file{number}.dnd instead of the previous stucture. This makes going back to 3.1.x from 3.2dev quite dangerous. For example, when going back from 3.2dev to 3.1.5 the latter recreates DND files using the previous structure and later switching back to 3.2dev again causes a lot of file overwrite boxes to appear because 3.2dev attempts to migrate the DND files 3.1.5 has recreated to the new stucture again, but obviously file{number}.dnd already exists. Please at least warn a user about downgrading and detect a possible presence of file{number}.dnd while migrating.


3.2dev is non released code, use at your own risk. As for the overwrite questions, that is now fixed, by using the Overwrite flag.

2) When DND files are migrated (moved) from 3.1.x to 3.2dev structure, progressinfo is not hidden. This makes migration VERY painful and slow with lots of useless notifications on KDE 4.2. Please fix this and be very careful about ProgressInfo in the future. Useless and highly repetitive ProgressInfo is a huge slow down on KDE 4.2.


I just fixed that 10 minutes ago, HideProgressInfo and Overwrite flags are used now.
MoDaX
Registered Member
Posts
241
Karma
0
OS
George wrote:3.2dev is non released code, use at your own risk. As for the overwrite questions, that is now fixed, by using the Overwrite flag.

Which will become released one day. Overwrite is not a bad solution, but not the best though.
George
Moderator
Posts
5421
Karma
1
MoDaX wrote:
George wrote:3.2dev is non released code, use at your own risk. As for the overwrite questions, that is now fixed, by using the Overwrite flag.

Which will become released one day. Overwrite is not a bad solution, but not the best though.


Yes, but I can't make old releases forward compatible, the only thing I can do is make 3.1.6 work with the new files.
MoDaX
Registered Member
Posts
241
Karma
0
OS
George wrote:Yes, but I can't make old releases forward compatible, the only thing I can do is make 3.1.6 work with the new files.

Or make 3.1.6 detect them and warn the user that downgrade could have caused some data loss.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]