You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot switch workspace on gnome when SQLiteBrowser is open #934
Hi!
Im using sqlitebrowser from the Debian testing repository on my machine running Gnome Shell (3.22.2).
When I have sqlitebrowser opened, it seems like it is constantly requesting focus. I cannot switch workspaces, since it constantly switches back to the sqlitebrowser window.
Also I cannot minimize it, since it instantly gets de-minimized again.
Thanks for reporting this. I'm pretty sure someone else has mentioned this happening to them a few months ago too, but I'm not finding the bug report about it just yet.
@revolter Do you remember the previous bug report about this? From memory, you commented on it.
Just quickly mentioning issue #635 here which seems to describe a similar problem (see the last couple of comments). However, that issue is older than the commits mentioned by @kehugter. No idea how to explain this but maybe this is some valuable input for somebody 😃
That's some interesting information, @akhilman! Can you double check one extra case for me? When disabling the View -> Edit Database Cell option do you have the View -> Plot option enabled? And if not, does setting it change anything?
If we can really narrow this down to the Edit dialog I could prepare a patch that adds tons of debug output to that dialog and, with any luck, this helps us tracking down the source of the problem.
I can confirm this bug on GNOME 3.22 on Fedora 25. Looking at the above comments, I'm just running SQLIteBrowser as it comes installed by default - I haven't disabled or enabled the Views as mentioned two comments above. If there is anything you want me to try to confirm, please let me know.
It's our latest source for what will become version 3.10.0, but with all of the calls to qApp->processEvents() either removed or commented out.
While debugging a different problem today I gained a sneaking suspicion that these calls might be causing the problem here. Removing them hasn't seemed to cause any change in user visible behaviour for me just now. So, it'd be useful to find out if there's any change for yourselves. 😄
@kehugter Thanks for testing. Someone else mentioned a few weeks ago that the experimental thing above didn't fix it for them either, so I guess your report really confirms it.
Will probably have time to investigate it further over the next few weeks. 😄
Hi:
I found this same bug five minutes ago. Anyway... it seems to be more a bug in gnome shell, not in sqlitebrowser, isn't it? (and the same in Cinnamon: both are based on mutter). Has someone reported this to gnome programmers?
We don't have any Arch specific steps yet, but it's generally a matter of installing dependencies, then running cmake on the directory to generate a Makefile, then running make to do the compiling.
In theory (!), it shouldn't be toooooooooo hard to figure out. 😄
Ok, sqlbrowser works fine after compiling from source (git clone).
I noticed the last release is 3.10.1 from Sept. 2017 and the Archlinux package is built upon it. So, I suppose this version still suffers from this bug.
Thanks
NB. I tried to create binaries locally with Archlinux tools package builder (PKGBUILD), but, in my current environment, compilation of sqlitebrowser-3.10.1.tar.gz fails /work/dev/sqlitebrowser/src/sqlitebrowser-3.10.1/libs/qscintilla/Qt4Qt5/Qsci/qsciscintillabase.h:2334:2: error: expected declaration before « } » token };
Activity
justinclift commentedon Jan 17, 2017
Thanks for reporting this. I'm pretty sure someone else has mentioned this happening to them a few months ago too, but I'm not finding the bug report about it just yet.
@revolter Do you remember the previous bug report about this? From memory, you commented on it.
vtronko commentedon Jan 18, 2017
In any case it's upstream bug, not SQLiteBrowser.
justinclift commentedon Jan 18, 2017
Why an upstream bug?
justinclift commentedon Jan 26, 2017
@kehugter Excellent, that's good info. 😄
MKleusberg commentedon Feb 3, 2017
Just quickly mentioning issue #635 here which seems to describe a similar problem (see the last couple of comments). However, that issue is older than the commits mentioned by @kehugter. No idea how to explain this but maybe this is some valuable input for somebody 😃
akhilman commentedon Feb 12, 2017
Bug appears only when
View→Edit Database Cellis enabled.MKleusberg commentedon Feb 15, 2017
That's some interesting information, @akhilman! Can you double check one extra case for me? When disabling the
View -> Edit Database Celloption do you have theView -> Plotoption enabled? And if not, does setting it change anything?If we can really narrow this down to the Edit dialog I could prepare a patch that adds tons of debug output to that dialog and, with any luck, this helps us tracking down the source of the problem.
prcutler commentedon Mar 7, 2017
I can confirm this bug on GNOME 3.22 on Fedora 25. Looking at the above comments, I'm just running SQLIteBrowser as it comes installed by default - I haven't disabled or enabled the Views as mentioned two comments above. If there is anything you want me to try to confirm, please let me know.
justinclift commentedon Aug 17, 2017
@vanitasvitae @prcutler @akhilman @kehugter Would any of you have time to try something out which might (if lucky) solve this problem? 😄
If you do, please compiling this branch here and see if the problem seems any different: https://github.com/justinclift/sqlitebrowser/tree/issue_934_v1
(specifically, the "issue_934_v1" branch)
It's our latest source for what will become version 3.10.0, but with all of the calls to
qApp->processEvents()either removed or commented out.While debugging a different problem today I gained a sneaking suspicion that these calls might be causing the problem here. Removing them hasn't seemed to cause any change in user visible behaviour for me just now. So, it'd be useful to find out if there's any change for yourselves. 😄
justinclift commentedon Oct 8, 2017
@kehugter Thanks for testing. Someone else mentioned a few weeks ago that the experimental thing above didn't fix it for them either, so I guess your report really confirms it.
Will probably have time to investigate it further over the next few weeks. 😄
rastersoft commentedon Oct 11, 2017
Hi:
I found this same bug five minutes ago. Anyway... it seems to be more a bug in gnome shell, not in sqlitebrowser, isn't it? (and the same in Cinnamon: both are based on mutter). Has someone reported this to gnome programmers?
I'm using gnome shell 3.24 in Debian Sid.
justinclift commentedon Oct 12, 2017
@vanitasvitae @akhilman @prcutler @rastersoft A fix (written by @kehugter) for this problem has just been added to our source code.
Would any of you have the time/interest to try compiling, and confirm back from your point of view? 😄
rastersoft commentedon Oct 12, 2017
Compiling...
rastersoft commentedon Oct 12, 2017
Ok, this patch seems to have fixed the problem. Thanks!!!!
justinclift commentedon Oct 12, 2017
Fantastic! Thanks for confirming @rastersoft. 😄
Good work @kehugter, this bug has been annoying people for ages. 😀
qwabra commentedon Feb 5, 2018
+1
hutou commentedon Jan 15, 2019
Workspace switching still blocked (version 3.10.1 on Archlinux / Gnome 3.30)
rastersoft commentedon Jan 15, 2019
In Debian SID (sqlitebrowser 3.10.1/Gnome 3.30) works fine.
justinclift commentedon Jan 15, 2019
@hutou That's not good. Are you comfortable compiling stuff from source?
If you are, the build instructions we use are here:
https://github.com/sqlitebrowser/sqlitebrowser/blob/master/BUILDING.md#generic-linux-and-freebsd
We don't have any Arch specific steps yet, but it's generally a matter of installing dependencies, then running
cmakeon the directory to generate a Makefile, then runningmaketo do the compiling.In theory (!), it shouldn't be toooooooooo hard to figure out. 😄
hutou commentedon Jan 16, 2019
Ok, sqlbrowser works fine after compiling from source (git clone).
I noticed the last release is 3.10.1 from Sept. 2017 and the Archlinux package is built upon it. So, I suppose this version still suffers from this bug.
Thanks
NB. I tried to create binaries locally with Archlinux tools package builder (PKGBUILD), but, in my current environment, compilation of sqlitebrowser-3.10.1.tar.gz fails
/work/dev/sqlitebrowser/src/sqlitebrowser-3.10.1/libs/qscintilla/Qt4Qt5/Qsci/qsciscintillabase.h:2334:2: error: expected declaration before « } » token };justinclift commentedon Jan 16, 2019
Cool. 😄
And yeah, the next release should be pretty soon (#1656 for progress, if you're interested), so it's probably not worth filing a bug for 3.10.1. 😄