Package: sqlitebrowser
Version: 3.9.1-2
Severity: important
Tags: patch

Dear Maintainer,

When I use sqlitebrowser under Gnome Shell, it "locks" the current virtual
desktop. It is impossible to switch between virtual desktops because every time
I try to do it, it returns again to the virtual desktop where the sqlitebrowser
window is. No matter if I try to do it from the Activities view, or using
hotkeys.

This bug was reported to the creator (
https://github.com/sqlitebrowser/sqlitebrowser/issues/934 ), and there is a
single-line patch that fixes it (
https://github.com/kehugter/sqlitebrowser/commit/c4c4cf62a2adf90c7604a920c409c27192f177ce
). I downloaded the source code and compiled it, and the patch works fine, so I
ask to backport this fix into the current sqlitebrowser package.

Thanks.



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), 
LANGUAGE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sqlitebrowser depends on:
ii  libc6                  2.24-17
ii  libgcc1                1:7.2.0-12
ii  libqcustomplot1.3      1.3.2+dfsg1-1
ii  libqt5core5a           5.9.1+dfsg-12
ii  libqt5gui5             5.9.1+dfsg-12
ii  libqt5network5         5.9.1+dfsg-12
ii  libqt5printsupport5    5.9.1+dfsg-12
ii  libqt5scintilla2-12v5  2.9.3+dfsg-5+b1
ii  libqt5test5            5.9.1+dfsg-12
ii  libqt5widgets5         5.9.1+dfsg-12
ii  libsqlite3-0           3.20.1-2
ii  libstdc++6             7.2.0-12

sqlitebrowser recommends no packages.

sqlitebrowser suggests no packages.

-- no debconf information
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
index 445e9680..6ef0ca43 100644
--- a/src/MainWindow.cpp
+++ b/src/MainWindow.cpp
@@ -863,7 +863,6 @@ void MainWindow::toggleEditDock(bool visible)
 {
     if (!visible) {
         // Update main window
-        activateWindow();
         ui->dataTable->setFocus();
     } else {
         // fill edit dock with actual data
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
index 445e9680..6ef0ca43 100644
--- a/src/MainWindow.cpp
+++ b/src/MainWindow.cpp
@@ -863,7 +863,6 @@ void MainWindow::toggleEditDock(bool visible)
 {
     if (!visible) {
         // Update main window
-        activateWindow();
         ui->dataTable->setFocus();
     } else {
         // fill edit dock with actual data

Reply via email to