Skip to content

Ctrl+TAB for switching between files opened in two tabs freezes both tabs (requires manual kill of nqq) #992

@tudorp

Description

@tudorp

Description
Ctrl+TAB for switching between files opened in two different tabs freezes both tabs (can't scroll/edit any of them), although the rest of the UI seems unaffected.

Attempting to close the tabs does not produce any results.

Attempting to close nqq seems to work, but in fact the process remains active, just the UI is hidden and on restart it resumes in exactly same state. Restoring functionality requires to manually terminate the nqq parent process.

To Reproduce
Steps to reproduce the behavior:

  1. Start nqq (e.g. using system search)
  2. Open an existing file (e.g. python script)
  3. Open another existing file (e.g. another python script)
  4. Press Ctrl+TAB to switch between the tabs
  5. Observe that the tab switched can't be scrolled/edited (switching back to previous tab by clicking the UI finds it also frozen)
  6. Rest of UI appears working, but the tabs can't be closed
  7. Closing nqq seems successful, but on restart same frozen tabs are observed (actually nqq process does not stop on close...)
  8. Stopping nqq by kill/killall/htop utilities makes it possible afterwards to restart successfully nqq

Expected behavior
At step 5 it is expected that editing/scroll is possible
At step 6 it is expected for the tabs to be closed
At step 7 it is expected that all nqq processes are stopped on exit and functionality restored on fresh start

Environment

  • OS: Linux Mint 20.1 Cinemon 4.8.6 kernel 5.8.0-45-generic
  • ##installed notepadqq 2.0.0~beta1-1build1 from APT-Sources: http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
  • from distro packages
  • Qt version 5.12.8.
  • Notepadqq version v2.0.0-beta+git (as displayed in menu)

Additional context
The issue was discovered while editing two existing python source files and did not reproduce on a simple test case (start nqq with new emty tab, add new tab, switch between tabs with Ctrl+TAB seems to work OK)

Discovered on freshly installed (same day) of nqq from the APT-Sources: http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages on Linux Mint 20.1 Cinemon 4.8.6 kernel 5.8.0-45-generic.

I find it interesting that opening new tabs (non existing files) does not create the same issue...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions