Opened 5 years ago

Last modified 4 years ago

#21053 closed defect

Relation editor: Role unintentionally modified removing member from member list — at Version 5

Reported by: skyper Owned by: DevCharly
Priority: critical Milestone: 21.07
Component: Core Version: latest
Keywords: template_report relation editor member remove role Cc:

Description (last modified by skyper)

What steps will reproduce the problem?

  1. Have a relation with member roles
  2. Open relation editor
  3. Select member with role in member list by clicking on role field
  4. Watch the the role field being active and ready for modification
  5. Delete member from list either with source:trunk/resources/images/dialogs/delete.svg "Remove the currently selected members from this relation" or source:trunk/resources/images/dialogs/relation/deletemembers.svg "Remove all members referring to one of the selected objects"

What is the expected result?

Member is removed from member list but no roles of remaining members are modified

What happens instead?

Role of the member below the removed member is modified

Please provide any additional information below. Attach a screenshot if possible.

Seems to happen all the time if the role field is active for modification, e.g. modifying roles above by typing plus Enter and than removing does trigger it, too.
Noticed this for some time now, but never took the time to fill a ticket, sorry.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-06-28 23:03:35 +0200 (Mon, 28 Jun 2021)
Revision:17943
Build-Date:2021-06-29 01:31:02
URL:https://josm.openstreetmap.de/svn/trunk

Look and Feel: com.formdev.flatlaf.FlatDarkLaf

Plugins:
+ flatlaf (35734)

Change History (5)

comment:1 by Don-vip, 4 years ago

Description: modified (diff)

comment:2 by Don-vip, 4 years ago

Owner: changed from team to skyper
Status: newneedinfo

Can't reproduce, can you please attach screenshots with a particular relation id and selected member id to make sure I do the same as you?

in reply to:  2 comment:3 by skyper, 4 years ago

Component: CorePlugin flatlaf

Replying to Don-vip:

Can't reproduce, can you please attach screenshots with a particular relation id and selected member id to make sure I do the same as you?

Oh, it is a problem of the flatlaf plugin at least in "Dark Mode". Wonder that the laf can have that heavy impact.

Look and Feel: com.formdev.flatlaf.FlatDarkLaf

Plugins:
+ flatlaf (35734)
Last edited 4 years ago by skyper (previous) (diff)

comment:4 by skyper, 4 years ago

Owner: changed from skyper to DevCharly
Status: needinfonew

comment:5 by skyper, 4 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.