[Digikam-devel] [Bug 127697] New: the camera gui always puts *.JPG and *.NEF in the configure - digikam dialog/File Mime Types/ Image Files.

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

[Digikam-devel] [Bug 127697] New: the camera gui always puts *.JPG and *.NEF in the configure - digikam dialog/File Mime Types/ Image Files.

alex cozzi
------- 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=127697         
           Summary: the camera gui always puts *.JPG and *.NEF in the
                    configure - digikam dialog/File Mime Types/ Image Files.
           Product: digikam
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Camera GUI
        AssignedTo: digikam-devel kde org
        ReportedBy: alexcozzi gmail com


Version:           0.8.2-rc1 (using KDE 3.5.2, Kubuntu Package 4:3.5.2-0ubuntu18 dapper)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.15-23-686

Whenever I use the camera gui with my nikon d70 two new mime types extensions are added to the "configure - digikam dialog" dialog, under File Mime Types/Image Files:
*.JPG and *.NEF.
Now I like to leave the *.NEF files hidden because while going through the images with showphoto it is so much slower to watch the NEF and I usually work in JPG+RAW mode, so I get a JPG and a NEF for each picture.
The solution would be to not change the configuration or even better to instruct digikam to consider the JPG and NEF file with the same same like a an "aggregate" file, so that whenever I delete it the JPG and the NEF are both deleted, and showPhoto uses the JPG to show the picture.
_______________________________________________
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 127697] the camera gui always puts *.JPG and *.NEF in the configure - digikam dialog/File Mime Types/ Image Files.

Gilles Caulier
------- 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=127697         
caulier.gilles free fr changed:

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



------- Additional Comments From caulier.gilles free fr  2006-05-30 14:54 -------
SVN commit 546568 by cgilles:

digikam from trunk : check properlly the camera items extension before to add it in mime type config using a lower char conversion.
BUG: 127697

 M  +5 -6      cameraui.cpp  


--- trunk/extragear/graphics/digikam/utilities/cameragui/cameraui.cpp #546567:546568
 @ -930,14 +930,13  @
     if (!settings)
         return;
 
-    if (settings->getImageFileFilter().contains(ext) ||
-        settings->getMovieFileFilter().contains(ext) ||
-        settings->getAudioFileFilter().contains(ext) ||
-        settings->getRawFileFilter().contains(ext))
+    if (settings->getImageFileFilter().upper().contains(ext.upper()) ||
+        settings->getMovieFileFilter().upper().contains(ext.upper()) ||
+        settings->getAudioFileFilter().upper().contains(ext.upper()) ||
+        settings->getRawFileFilter().upper().contains(ext.upper()))
         return;
 
-    settings->setImageFileFilter(settings->getImageFileFilter() +
-                                 QString(" *.") + ext);
+    settings->setImageFileFilter(settings->getImageFileFilter() + QString(" *.") + ext);
     emit signalAlbumSettingsChanged();
 }
_______________________________________________
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 127697] the camera gui always puts *.JPG and *.NEF in the configure - digikam dialog/File Mime Types/ Image Files.

Gilles Caulier
In reply to this post by alex cozzi
------- 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=127697         




------- Additional Comments From caulier.gilles free fr  2006-05-30 15:02 -------
SVN commit 546573 by cgilles:

digikam from stable : check properlly the camera items extension before to add it in mime type config using a lower char conversion.
CCBUGS: 127697

 M  +5 -6      cameraui.cpp  


--- branches/stable/extragear/graphics/digikam/utilities/cameragui/cameraui.cpp #546572:546573
 @ -715,14 +715,13  @
     if (!settings)
         return;
 
-    if (settings->getImageFileFilter().contains(ext) ||
-        settings->getMovieFileFilter().contains(ext) ||
-        settings->getAudioFileFilter().contains(ext) ||
-        settings->getRawFileFilter().contains(ext))
+    if (settings->getImageFileFilter().upper().contains(ext.upper()) ||
+        settings->getMovieFileFilter().upper().contains(ext.upper()) ||
+        settings->getAudioFileFilter().upper().contains(ext.upper()) ||
+        settings->getRawFileFilter().upper().contains(ext.upper()))
         return;
 
-    settings->setImageFileFilter(settings->getImageFileFilter() +
-                                 QString(" *.") + ext);
+    settings->setImageFileFilter(settings->getImageFileFilter() + QString(" *.") + ext);
     emit signalAlbumSettingsChanged();
 }
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel