Page MenuHomePhabricator

Click-drag events on a Codex model dialog trigger a close event if the mouse-up is outside the modal, even if the mouse-down was inside it.
Open, LowPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Go to any Z-object. I'll use this as an example: https://www.wikifunctions.org/view/en/Z972
  • Click the pencil next to "About" to open the label-editing dialogue box
  • Using the mouse, select from somewhere in the current label, all the way back to the start, but don't unclick your mouse until you are outside the label-editing dialogue box

What happens?:

  • When you unclick the mouse, the whole box closes. Any changes you made are unsaved.

What should have happened instead?:

  • It should have just left the box open and the string selected all the way back to the start of the string.
  • only clicks *starting* outside the box should close it

Other information:

  • This happens to me quite often when trying to copy-paste and edit labels. It is most frustrating when you've already made changes.

Event Timeline

Jdforrester-WMF renamed this task from accidental closure when editing the labels panel to Click-drag events on a Codex model dialog trigger a close event if the mouse-up is outside the modal, even if the mouse-down was inside it..Feb 29 2024, 5:42 PM
Jdforrester-WMF added a project: Codex.

Thank you for reporting this bug and leaving detailed instructions on how to duplicate it! I understand the frustrations this bug has caused when making edits. Our team will discuss this and get back to you next week.