View previous topic :: View next topic |
Author |
Message |
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1771 Location: PB, Germany
|
Posted: Thu Aug 04, 2022 7:24 am Post subject: Qt Dialog buttons need to be pressed twice |
|
|
Hi,
I have a weird issue since probably more than a year.
On almost every Qt application I need to press Open or other buttons twice to get the file dialog. First it felt like a bad mouse key but it's really twice every time.
After the first call of such a file dialog, all the dialogs within the application are working fine until the application is restarted.
Some examples for the issue:
app-emulation/virtualbox (Choose Disk file for ISO images)
app-admin/keepassxc (Database->Open Database)
My environment is Xfce with Gtk, the file dialog looks like the Gtk dialog. _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Fri Aug 05, 2022 9:44 am Post subject: |
|
|
Maybe its a window focus thing.
Ie first click on button acquires focus and second click is button pressing.
In xfce settings manager
Code: |
Window Manager -> Focus -> New window focus -> tick box "Automatically give focus to newly created windows"
|
_________________
|
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1771 Location: PB, Germany
|
Posted: Fri Aug 05, 2022 12:40 pm Post subject: |
|
|
Actually I don't think so.
alamahant wrote: | Code: | Window Manager -> Focus -> New window focus -> tick box "Automatically give focus to newly created windows" |
|
I have that option enabled. As well as [x] Focus follow mouse.
The current window I'm working on has focus. The new file dialog doesn't appear at all, it's not hidded or in background, it doesn't open on first click, only on second click. After that everything is working as expected and file dialogs are opening on first click, until I exit the application and start again. _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
Ralphred Guru
Joined: 31 Dec 2013 Posts: 501
|
Posted: Fri Aug 05, 2022 3:43 pm Post subject: |
|
|
Massimo B. wrote: | it doesn't open on first click, only on second click. After that everything is working as expected and file dialogs are opening on first click, until I exit the application and start again. |
What happens if you click in the window (but not a button), then try a button? |
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1771 Location: PB, Germany
|
Posted: Thu Aug 11, 2022 10:33 am Post subject: |
|
|
Ralphred wrote: | What happens if you click in the window (but not a button), then try a button? | Same issue. _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1897 Location: 127.0.0.1
|
Posted: Sat Aug 13, 2022 10:43 am Post subject: |
|
|
Hi,
Does this happen with another user on your system ?
If not, maybe some configuration file in your ~ interfere with the expected behavior of the Qt dialog (~/.config/QtProject.conf or something else..) |
|
Back to top |
|
|
|