Bug 581114 - Duplicate "copyAll" actions prevent accepting differences when TextMergeViewer is shown first
Summary: Duplicate "copyAll" actions prevent accepting differences when TextMergeViewe...
Status: NEW
Alias: None
Product: EMFCompare
Classification: Modeling
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: EMF Compare CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 580988 (view as bug list)
Depends on:
Blocks: 580988
  Show dependency tree
 
Reported: 2022-11-24 03:07 EST by Laurent Goubet CLA
Modified: 2023-10-17 12:29 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Goubet CLA 2022-11-24 03:07:29 EST
The EMFCompareContentMergeViewer normally disables the "copyAll" actions from platform compare when it opens (createToolItems(...)), but that only works when a sub-class of this is opened first. If the very first difference in the SMV is a textual one, then the Text CMV will be shown automatically, and this will sport have the duplicate action handlers. See bug 580988 for more details.

We need to check for and disable the duplicates in the text CMV as well, possibly ensuring that the ones we disable are indeed from platform and not our own.
Comment 1 Eike Stepper CLA 2022-11-24 04:26:27 EST
(In reply to Laurent Goubet from comment #0)
> [...] If the very first difference
> in the SMV is a textual one, then the Text CMV will be shown automatically,
> and this will sport have the duplicate action handlers.

Just to confirm, that's exactly the case when I see the "Conflicting handlers" exception.
Comment 2 Eike Stepper CLA 2023-10-17 12:29:55 EDT
*** Bug 580988 has been marked as a duplicate of this bug. ***