You have been subscribed to a public bug:

## Steps to reproduce
<!--
  Please, explain the sequence of actions necessary to reproduce the
  bug
-->

 sandbox to reproduce: https://codesandbox.io/p/sandbox/old-field-
ylvzgq?file=%2Fsrc%2Fcomponents%2FEditor.vue%3A15%2C19

1. Focus the editor
2. Enter '/' to trigger the slash commands
3. Traverse down to the "input" slash commend
4. Select it using the "Enter" key
5. See the file input dialog open and below it see multiple new lines inserted 
into the editor (i.e. multiple Enter keys virtually pressed)

<!--
  You should try and reproduce with the demos applications available
  under the `demos` directory, or the test programs in the `tests` directory.
  Alternatively, please attach a *small and self-contained* example
  *written in C* that exhibits the issue.
-->

 sandbox to reproduce: https://codesandbox.io/p/sandbox/old-field-
ylvzgq?file=%2Fsrc%2Fcomponents%2FEditor.vue%3A15%2C19

## Current behavior
<!--
  Please describe the current behaviour
-->
Repeating new lines are inserted into the editor as long as the input dialog 
remains open.
This reproduces on both Chrome and Firefox browsers

## Expected outcome
<!--
  Please describe the expected outcome
-->
The input dialog should open without continuing to trigger events into the 
editor until a user has returned a selection

## Version information
<!--
 - Which version of GTK you are using
 - What operating system and version
 - If you built GTK yourself, the list of options used to configure the build
-->
- Which version of GTK you are using
   - 4.6.9+ds-0ubuntu0.22.04.1 
 - What operating system and version
  - Ubuntu v. 22.04.03 LTS

## Additional information
<!--
 - Screenshots or screen recordings are useful for visual errors
  - Attaching a screenshot or a video without explaining the current
    behavior and the actions necessary to reproduce the bug will lead
    to the bug being closed
 - Please report any warning or message printed on the terminal
-->
https://www.loom.com/share/558dfd524d374d9d97f1b23ffd428da2?sid=332ce790-c690-442a-bb6d-7eb65fc22287
 
![Screencast_from_12-10-23_12_26_29](/uploads/60011f823e04a5c45adac48366ffc104/Screencast_from_12-10-23_12_26_29.webm)

** Affects: nautilus (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bot-comment
-- 
Input field launch triggers repeating "Enter" keystrokes
https://bugs.launchpad.net/bugs/2039158
You received this bug notification because you are a member of Ubuntu Desktop 
Bugs, which is subscribed to nautilus in Ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to