https://bugs.kde.org/show_bug.cgi?id=510389

            Bug ID: 510389
           Summary: Duplicating a Tab via shortcut, duplicates it twice
    Classification: Applications
           Product: krusader
      Version First unspecified
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: shortcuts
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Initially reported in Krusader issue tracker:
https://invent.kde.org/utilities/krusader/-/issues?sort=updated_desc&state=opened&first_page_size=100&show=eyJpaWQiOiIzMyIsImZ1bGxfcGF0aCI6InV0aWxpdGllcy9rcnVzYWRlciIsImlkIjo1MDA4N30%3D


When duplicating a tab via a keyboard shortcut(Ctrl+Shift+N or Ctrl+T), the tab
gets duplicated twice.

This does not always happen but >= 50% of the time.
This does NOT happen if you duplicate a tab through the mouse menu:
Window->Duplicate Current Tab

Tried to bisect the bug but it exists in all revisions I tested (went half a
year back)
Maybe it is a Qt bug?

Tried to debug it with breakpoints, but the bug didn't happen then.
Only when disabling the breakpoints it appeared again.

System:
```
Arch Linux 6.16.10-arch1-1
Wayland
KDE Plasma Desktop 6.4.5
KDE Frameworks 6.18.0
Qt 6.9.2
Krusader 2.9.0 and Krusader 2.10.0-dev gitrev: 5c0d5c4d3
```

debug output when running Krusader in debug mode `krusader --debug`:
```
12:57:52.218-debug default KrSearchBar::eventFilter@209 # key press event=
QKeyEvent(KeyPress, Key_Control, ControlModifier)
12:57:52.218-debug default KrView::handleKeyEvent@628 # key event=
QKeyEvent(KeyPress, Key_Control, ControlModifier)
12:57:52.218-debug default KrView::handleKeyEvent@628 # key event=
QKeyEvent(KeyPress, Key_Control, ControlModifier)
12:57:52.669-debug default ListPanelFunc::openUrl@190 # URL=
"file:///home/username" ; nameToMakeCurrent= ""
12:57:52.692-debug default FileSystem::scanOrRefresh@93 # from current dir= ""
; to= "file:///home/username"
12:57:52.692-debug default DefaultFileSystem::refreshInternal@193 # refresh
internal to URL= "file:///home/username"
12:57:52.692-debug default DefaultFileSystem::refreshInternal@202 # start local
refresh to URL= "file:///home/username"
12:57:53.102-debug default ListPanelFunc::openUrl@190 # URL=
"file:///home/username" ; nameToMakeCurrent= ""
12:57:53.123-debug default FileSystem::scanOrRefresh@93 # from current dir= ""
; to= "file:///home/username"
12:57:53.123-debug default DefaultFileSystem::refreshInternal@193 # refresh
internal to URL= "file:///home/username"
12:57:53.123-debug default DefaultFileSystem::refreshInternal@202 # start local
refresh to URL= "file:///home/username"
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to