Skip to content

Fix dismiss button in selection mode paste bar

Felix Ernst requested to merge felixernst/dolphin:actually_hide_paste_bar into master

Steps to reproduce the bug/fix:

  1. Have nothing selected
  2. Activate the "Copy…" action -> Selection mode is activated
  3. Select something and press "Copy" on the selection mode bottom bar -> A bar about pasting appears at the bottom
  4. Press the "Dismiss" button on the bottom bar -> with this commit, the bar is dismissed. without this commit, it isn't.

This one liner changes the signal that is emitted when the "Dismiss" button is pressed on the Paste bottom bar in selection mode. Before this commit, the leaveSelectionModeRequested() signal was used but it had no effect because technically the selection mode isn't active anymore when the paste bar is shown.

Everything works as expected if instead barVisibilityChangeRequested() is emitted.

Merge request reports