[Digikam-devel] [Bug 122653] New: file-dialogue claims that pictures are not on the local-storage, yet they are

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 122653] New: file-dialogue claims that pictures are not on the local-storage, yet they are

S. Burmeister
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=122653         
           Summary: file-dialogue claims that pictures are not on the local-
                    storage, yet they are
           Product: digikam
           Version: 0.8.1
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: sven.burmeister gmx net


Version:           0.8.1 (using KDE KDE 3.5.1)
Installed from:    SuSE RPMs
OS:                Linux

I select some pictures from within an album and drag them to another to move them there. I get the dialogue stating that the picture already exists. Yet the pictures are not shown, but instead there is the notice that they are not on a local-storag, which is wrong, as they are in my home-dir, which is on a local hdd.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 122653] file-dialogue claims that pictures are not on the local-storage, yet they are

S. Burmeister
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=122653         




------- Additional Comments From sven.burmeister gmx net  2006-06-21 20:26 -------
Can nobody confirm this?
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] [Bug 122653] file-dialogue claims that pictures are not on the local-storage, yet they are

Bugzilla from mikmach@wp.pl
Yes, it happens for me also.

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 122653] file-dialogue claims that pictures are not on the local-storage, yet they are

Bugzilla from mikmach@wp.pl
In reply to this post by S. Burmeister
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=122653         




------- Additional Comments From mikmach wp pl  2006-06-22 16:21 -------
Yes, it happens for me also.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 122653] file-dialogue claims that pictures are not on the local-storage, yet they are

Gilles Caulier
In reply to this post by S. Burmeister
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=122653         
caulier.gilles free fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marcel.wiesweg gmx de



------- Additional Comments From caulier.gilles free fr  2006-07-25 19:04 -------
Yes, of course i can confirm this bug.

I suspect than camera picture download bug #126427 is the same problem.

After investiguations, the problem is relevant of KURL construct by digiKam and passed to KDE kio-slave to copy/move the pictures.

The KURL is given by PAlbum class and use "digikamalbum:/" protocol witch is unkown by KDE kio-slave. This is why the dialog cannot found the image to display.

Not yet tested, but if i force in digiKam to use "file:/" protocol with kurl passed to KDE kio-slave, all will work fine.

Marcel, i would have your viewpoint about "digikamalbum:/" protocol:

- The error come from PAlbum class where a full compatible kurl method need to be added, especially for KDE kio-slave...

or

- The error come from kio-slave protocol installation witch is not properlly installed and reconized by KDE...

or

- Something is missing in digikamalbum kio-slave to be compliant with KDE rules.

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 122653] file-dialogue claims that pictures are not on the local-storage, yet they are

Gilles Caulier
In reply to this post by S. Burmeister
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=122653         
caulier.gilles free fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Albums GUI
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 122653] file-dialogue claims that pictures are not on the local-storage, yet they are

Marcel Wiesweg
In reply to this post by S. Burmeister
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=122653         
marcel.wiesweg gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      everconfirmed|0                           |1



------- Additional Comments From marcel.wiesweg gmx de  2006-07-25 22:59 -------
AlbumFolderView::contentsDropEvent will call DIO::copy with kioURLs.
DIO::copy will call KIO::copy.

KIO::copy will check if the dest exists, it does, so I think it is the KDE libs that will popup the overwrite dialog. Of course, it is unknown to KDE libs that digikamalbums:/ is actually a local file. Don't know how to change that.

Then, KDE libs will load the proper kioslave, and kio_digikamalbums::copy will get called. You have the debug statement from that method in your ~/.xsession-errors.

Then the copy method will somewhere return with KIO::ERR_ACCESS_DENIED, and the error message is sent to digikam.
So we have to fix the ioslave.

Or, some not-thought-through ideas:
- in albumfolderview, use normal file:/ URLs and afterwars do the same as in ImageWindow::saveAsIsComplete. Race-condition proof?
- use ForwardingSlaveBase for all file-related stuff in our ioslave - a pity, it's only available for KDE 3.4.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 122653] file-dialogue claims that pictures are not on the local-storage, yet they are

Marcel Wiesweg
In reply to this post by S. Burmeister
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=122653         




------- Additional Comments From marcel.wiesweg gmx de  2006-09-18 22:16 -------
SVN commit 586141 by mwiesweg:

Provide the UDS_LOCAL_PATH entry.
Now the KDE replace file dialog will no longer think digikamalbums:/ is a remote file.

CCBUG: 122653


 M  +5 -1      digikamalbums.cpp  


--- trunk/extragear/graphics/digikam/kioslave/digikamalbums.cpp #586140:586141
 @ -1149,7 +1149,11  @
     atom.m_uds = KIO::UDS_NAME;
     atom.m_str = QFileInfo(path).fileName();
     entry.append(atom);
-    
+
+    atom.m_uds = KIO::UDS_LOCAL_PATH;
+    atom.m_str = path;
+    entry.append(atom);
+
     return true;
 }
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 122653] file-dialogue claims that pictures are not on the local-storage, yet they are

Marcel Wiesweg
In reply to this post by S. Burmeister
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=122653         
marcel.wiesweg gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From marcel.wiesweg gmx de  2006-09-18 22:20 -------
When I tested this, I got an error message, (#4), but now it seems to me this bug is only about the "not on local storage" message. This is fixed now, so I close this.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 122653] file-dialogue claims that pictures are not on the local-storage, yet they are

Marcel Wiesweg
In reply to this post by S. Burmeister
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=122653         




------- Additional Comments From marcel.wiesweg gmx de  2006-11-15 19:05 -------
SVN commit 605173 by mwiesweg:

Revert fix for bug #122653, as a temporary fix for bug #137282

CCBUG: 137282, 122653


 M  +7 -0      digikamalbums.cpp  


--- trunk/extragear/graphics/digikam/kioslave/digikamalbums.cpp #605172:605173
 @ -1151,11 +1151,18  @
     atom.m_str = QFileInfo(path).fileName();
     entry.append(atom);
 
+    /*
+    // If we provide the local path, a KIO::CopyJob will optimize away
+    // the use of our custom digikamalbums:/ ioslave, which breaks
+    // copying the database entry:
+    // Disabling this as a temporary solution for bug #137282
+    // This code is intended as a fix for bug #122653.
 #if KDE_IS_VERSION(3,4,0)
     atom.m_uds = KIO::UDS_LOCAL_PATH;
     atom.m_str = path;
     entry.append(atom);
 #endif
+    */
 
     return true;
 }
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 122653] file-dialogue claims that pictures are not on the local-storage, yet they are

Marcel Wiesweg
In reply to this post by S. Burmeister
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=122653         
marcel.wiesweg gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From marcel.wiesweg gmx de  2006-11-15 19:07 -------
Reopening, see comment #7
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 122653] file-dialogue claims that pictures are not on the local-storage, yet they are

Gilles Caulier-4
In reply to this post by S. Burmeister
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=122653         




------- Additional Comments From caulier.gilles gmail com  2007-12-04 07:57 -------
Marcel,

Do you know a new issue for this file ?

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 122653] file-dialogue claims that pictures are not on the local-storage, yet they are

Marcel Wiesweg
In reply to this post by S. Burmeister
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=122653         




------- Additional Comments From marcel.wiesweg gmx de  2007-12-04 18:31 -------
I have not tried it for KDE4, for KDE3, the situation did not change as far as I see...
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel