[Bug 312627] New: cannot create a new album in root "My Albums"

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

[Bug 312627] New: cannot create a new album in root "My Albums"

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

            Bug ID: 312627
           Summary: cannot create a new album in root "My Albums"
    Classification: Unclassified
           Product: digikam
           Version: 3.0.0
          Hardware: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Database
          Assignee: [hidden email]
          Reporter: [hidden email]

When trying to create a new album in root it always creates the new album in
one sub album ( the second-last one in my case)

Reproducible: Always

Steps to Reproduce:
1. select My Albums in the navigator ( to make sure that there is no other
selected)
2. right click the My albums  and select New
3. select in Child of : Root or even Selected album ( remember My Albums is now
selected)
4. The new album is always created in the same place, in my case as a subalbum
in the second last album
5. If trying to create a new album in a sub-album it works fine.
Actual Results:  
described above, not created in the Root as expected

Expected Results:  
I tried many times with the same outcome

create a root album

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 312627] cannot create a new album in root "My Albums"

Smit Mehta
https://bugs.kde.org/show_bug.cgi?id=312627

Smit Mehta <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Smit Mehta <[hidden email]> ---
Hi bogdan

If you are using digiKam in english, the left pane will be something like this
:

My Albums
   - Album 1
       - SubAlbum 1.1
       - SubAlbum 1.2
           - SubAlbum 1.2.1
   - Album 2
       - SubAlbum 2.1

Now Album 1 and Album 2 cannot be created inside digiKam. These are actually
collections which you want to use in digiKam, selected by you when you start or
you can add / modify from  Settings -> Configure digiKam -> Collections. I
think you already have Album 1 and you want to create Album 2. That will be
done by the process i explained in above lines. Otherwise, whenever you click
as "root" while making an album inside digikam, it will be either album1 or
album2 based on your current selection.

I hope I am clear enough. Feel free if your doubt is still not cleared. You can
also attach a screenshot explaining what you exactly want to do.

Smit

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 312627] cannot create a new album in root "My Albums"

Smit Mehta
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=312627

Smit Mehta <[hidden email]> changed:

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

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 312627] cannot create a new album in root "My Albums"

bogdan
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=312627

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #2 from [hidden email] ---
HI Smit,

You are right. It works the way you described.

However, for people like me who forget, it would be nice if you can add a piece
of code that will notify you when My Albums is selected that creating an album
there is not possible, instead of creating an album randomly.  

To give you an example:
Even if I select an album in my first collection and look at some pictures
there after that I select My Albums and try to create an album in Root, it will
be created in my second last collection for some reason.  There is some strange
logic that keeps the current pointer at the last collection. I think that in
this case because the selection is on the root of all collections an error
message should be displayed

I believe that in this case create in Root means create in the root of the
current collection. Initially I thought that it will create a collection in My
Albums.

Regards,
Bogdan

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 312627] cannot create a new album in root "My Albums"

Smit Mehta
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=312627

--- Comment #3 from Smit Mehta <[hidden email]> ---
Hi Bogdan,

I got your point. I will see what can be done. Thanks.

Smit

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 312627] cannot create a new album in root "My Albums"

Smit Mehta
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=312627

Smit Mehta <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WAITINGFORINFO              |---
     Ever confirmed|0                           |1

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 312627] cannot create a new album in root "My Albums"

Smit Mehta
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=312627

--- Comment #4 from Smit Mehta <[hidden email]> ---
Hi Gilles

Is there a way to disable the right click on "My Albums", which is the root?
Also, we should disable on all the collections' name. Because its obsolete and
it is creating confusion. The options in right click are

- New -> Cant make a new album here. Needs to be added as a collection.
- Open in file manager, Open in terminal -> Falsely opens 'root' in dolphin.
- Rename, Import, Export, Delete -> Not possible
- Properties -> N/A

So you see, its completely useless and not intuitive to have a right click
there. Also, there is no use. What do you think about this?

Smit

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 312627] cannot create a new album in root "My Albums"

Gilles Caulier-4
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=312627

--- Comment #5 from Gilles Caulier <[hidden email]> ---
Smit,

In Album class, if i remember, there is a propertie to see if album is root or
not.

But i'm not sure, if root album, which is normally a collection title is
assigned as root album. If it's not the case, well album must be null, i think.

You need to investiguate in code. After that clean and wrap all contextual
menus accordingly.

Gilles

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 312627] cannot create a new album in root "My Albums"

Marcel Wiesweg
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=312627

--- Comment #6 from Marcel Wiesweg <[hidden email]> ---
Smit, have a look at our nice class class
AlbumSelectionTreeView::AlbumSelectionTreeViewPriv::AlbumSelectionTreeViewContextMenuElement
in albums/albumselectiontreeview.cpp

For any Album*, you have isRoot() to find out if the album is the "root album"
which serves as the root of the tree structure.
For PAlbum*, there is isAlbumRoot() which tells you if the album correspondends
to the topmost album of a Collection. These albums are physical, they can
contain pictures.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 312627] cannot create a new album in root "My Albums"

Smit Mehta
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=312627

Smit Mehta <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/7c22c5d73bd41b7ea755adc
                   |                            |4e597ecfde17d8bfd

--- Comment #7 from Smit Mehta <[hidden email]> ---
Git commit 7c22c5d73bd41b7ea755adc4e597ecfde17d8bfd by Smit Mehta.
Committed on 08/01/2013 at 17:41.
Pushed by smitmehta into branch 'master'.

Polish.
Removed obselete actions from context menu in album tree view for Root and
Parent collections.
Added KMessageBox showing error if someone tries to open Root in terminal or
file manager.

M  +1    -1    digikam/album/albumpropsedit.cpp
M  +10   -2    digikam/album/albumselectiontreeview.cpp
M  +14   -0    digikam/views/digikamview.cpp

http://commits.kde.org/digikam/7c22c5d73bd41b7ea755adc4e597ecfde17d8bfd

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 312627] cannot create a new album in root "My Albums"

Gilles Caulier-4
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=312627

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |3.0.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 312627] cannot create a new album in root "My Albums"

bugzilla_noreply
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=312627

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Database                    |Database-Albums

--
You are receiving this mail because:
You are the assignee for the bug.