[digikam] [Bug 329127] New: Remove Tag menu entry is enabled if a picture has no Tags

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

[digikam] [Bug 329127] New: Remove Tag menu entry is enabled if a picture has no Tags

André Marcelo Alvarenga
https://bugs.kde.org/show_bug.cgi?id=329127

            Bug ID: 329127
           Summary: Remove Tag menu entry is enabled if a picture has no
                    Tags
    Classification: Unclassified
           Product: digikam
           Version: 3.5.0
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [hidden email]
          Reporter: [hidden email]

If I have a picture with no Tags but with Labels, the 'Remove Tag' menu entry
in Context Menu stayed enabled until I hover the mouse pointer over this menu
entry.

Reproducible: Always

Steps to Reproduce:
1-Make sure that this picture has no Tag
2-Assign a Label
3-Right-click on this picture ('Remove Tag' menu entry is enabled)
4-Go to 'Remove Tag' menu entry


Expected Results:  
Don't enable menu entry if the picture has no Tags.

--
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 329127] Remove Tag menu entry is enabled if a picture has no Tags

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=329127

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|general                     |Tags

--
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 329127] Remove Tag menu entry is enabled if a picture has no Tags

Gilles Caulier-4
In reply to this post by André Marcelo Alvarenga
https://bugs.kde.org/show_bug.cgi?id=329127

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Version Fixed In|                            |4.0.0
         Resolution|---                         |FIXED

--- Comment #1 from Gilles Caulier <[hidden email]> ---
Already implemented in 4.0.0-beta2

Gilles Caulier

--
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 329127] Remove Tag menu entry is enabled if a picture has no Tags

André Marcelo Alvarenga
In reply to this post by André Marcelo Alvarenga
https://bugs.kde.org/show_bug.cgi?id=329127

--- Comment #2 from André Marcelo Alvarenga <[hidden email]> ---
(In reply to comment #1)
> Already implemented in 4.0.0-beta2
>
> Gilles Caulier

I can still reproduce this bug on digikam 4.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 329127] Remove Tag menu entry is enabled if a picture has no Tags

Gilles Caulier-4
In reply to this post by André Marcelo Alvarenga
https://bugs.kde.org/show_bug.cgi?id=329127

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.5.0                       |4.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 329127] Remove Tag menu entry is enabled if a picture has no Tags

André Marcelo Alvarenga
In reply to this post by André Marcelo Alvarenga
https://bugs.kde.org/show_bug.cgi?id=329127

André Marcelo Alvarenga <[hidden email]> changed:

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

--- Comment #3 from André Marcelo Alvarenga <[hidden email]> ---
I can still reproduce this bug on digikam 4.11

Watch this screencast: https://youtu.be/gz0BdA24B9g

--
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 329127] Remove Tag menu entry is enabled if a picture has no Tags

Gilles Caulier-4
In reply to this post by André Marcelo Alvarenga
https://bugs.kde.org/show_bug.cgi?id=329127

--- Comment #4 from Gilles Caulier <[hidden email]> ---
As i can see on screencast, the menu entry is not disabled at menu showEvent(),
but only when mouse is over menu option.

So, the disabling process must be done when menu is populated, just before to
show it.

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 329127] Remove Tag menu entry is enabled if a picture has no Tags

Maik Qualmann
In reply to this post by André Marcelo Alvarenga
https://bugs.kde.org/show_bug.cgi?id=329127

Maik Qualmann <[hidden email]> changed:

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

--- Comment #5 from Maik Qualmann <[hidden email]> ---
Created attachment 93516
  --> https://bugs.kde.org/attachment.cgi?id=93516&action=edit
contextmenu.patch

This patch checks if only color or pick label tags in the selected images are.

Maik

--
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 329127] Remove Tag menu entry is enabled if a picture has no Tags [patch]

Gilles Caulier-4
In reply to this post by André Marcelo Alvarenga
https://bugs.kde.org/show_bug.cgi?id=329127

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Remove Tag menu entry is    |Remove Tag menu entry is
                   |enabled if a picture has no |enabled if a picture has no
                   |Tags                        |Tags [patch]

--- Comment #6 from Gilles Caulier <[hidden email]> ---
Just tested. Patch work fine here...

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 329127] Remove Tag menu entry is enabled if a picture has no Tags [patch]

Maik Qualmann
In reply to this post by André Marcelo Alvarenga
https://bugs.kde.org/show_bug.cgi?id=329127

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/2426e9f6cbd150455e743e5
                   |                            |4cbc204f97ae47101
             Status|UNCONFIRMED                 |RESOLVED
   Version Fixed In|4.0.0                       |4.12.0
         Resolution|---                         |FIXED

--- Comment #7 from Maik Qualmann <[hidden email]> ---
Git commit 2426e9f6cbd150455e743e54cbc204f97ae47101 by Maik Qualmann.
Committed on 07/07/2015 at 18:50.
Pushed by mqualmann into branch 'master'.

apply patch #93516 to disable "Remove Tag" context menu if only color or pick
label tags are present
FIXED-IN: 4.12.0

M  +2    -1    NEWS
M  +16   -2    app/utils/contextmenuhelper.cpp

http://commits.kde.org/digikam/2426e9f6cbd150455e743e54cbc204f97ae47101

--
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 329127] Remove Tag menu entry is enabled if a picture has no Tags [patch]

Maik Qualmann
In reply to this post by André Marcelo Alvarenga
https://bugs.kde.org/show_bug.cgi?id=329127

--- Comment #8 from Maik Qualmann <[hidden email]> ---
Git commit b5badd9b0500f539dda24f85b052c9d1242ba85d by Maik Qualmann.
Committed on 07/07/2015 at 20:04.
Pushed by mqualmann into branch 'master'.

check also for internal tags to disable context menu

M  +2    -1    app/utils/contextmenuhelper.cpp

http://commits.kde.org/digikam/b5badd9b0500f539dda24f85b052c9d1242ba85d

--
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 329127] Remove Tag menu entry is enabled if a picture has no Tags [patch]

Gilles Caulier-4
In reply to this post by André Marcelo Alvarenga
https://bugs.kde.org/show_bug.cgi?id=329127

--- Comment #9 from Gilles Caulier <[hidden email]> ---
Git commit dee6477cec8aef873798011bec5598ebda7befd1 by Gilles Caulier.
Committed on 07/07/2015 at 21:00.
Pushed by cgilles into branch 'frameworks'.

backport commit #2426e9f6cbd150455e743e54cbc204f97ae47101 from git/master to
frameworks branch

M  +17   -3    app/utils/contextmenuhelper.cpp

http://commits.kde.org/digikam/dee6477cec8aef873798011bec5598ebda7befd1

--
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 329127] Remove Tag menu entry is enabled if a picture has no Tags [patch]

Gilles Caulier-4
In reply to this post by André Marcelo Alvarenga
https://bugs.kde.org/show_bug.cgi?id=329127

--- Comment #10 from Gilles Caulier <[hidden email]> ---
Git commit b56d3002085d689b9cb8e0bc707d67f3964fc2a0 by Gilles Caulier.
Committed on 07/07/2015 at 21:02.
Pushed by cgilles into branch 'frameworks'.

backport commit #b5badd9b0500f539dda24f85b052c9d1242ba85d from git/master to
frameworks branch

M  +2    -1    app/utils/contextmenuhelper.cpp

http://commits.kde.org/digikam/b56d3002085d689b9cb8e0bc707d67f3964fc2a0

--
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 329127] Remove Tag menu entry is enabled if a picture has no Tags [patch]

bugzilla_noreply
In reply to this post by André Marcelo Alvarenga
https://bugs.kde.org/show_bug.cgi?id=329127

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Tags-Engine                 |Usability-Menus

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