Bug 405036

Summary: Tab event seems to be called when restoring from iconified state
Product: [Applications] Falkon Reporter: Juraj <jurajoravec>
Component: generalAssignee: David Rosca <nowrep>
Status: RESOLVED UPSTREAM    
Severity: normal CC: trmdi
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Juraj 2019-03-03 14:01:57 UTC
SUMMARY
When Restoring Falkon from iconified state the current webpage seems to scroll to some position or last used textarea or to show some hidden element.
After few days of experiencing such behviour I came to conclusion that the culprit is TAB key event.
I was able to replicate same behaviour which I experience when restoring from iconified state by pressing TAB key.

STEPS TO REPRODUCE
1. Start Falkon, load some page
2. Iconify Falkon (hide into task bar, minimize)
3. Restore from iconified state

OBSERVED RESULT
Webpage response as if TAB key was pressed.

EXPECTED RESULT
Nothing should happen to webpage.

SOFTWARE/OS VERSIONS
Operating System: Artix 
KDE Plasma Version: 5.15.2
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1
Kernel Version: 4.19.26-1-lts
OS Type: 64-bit
Application version: 3.0.99 (b87ccf71)

ADDITIONAL INFORMATION
Window Manager: Openbox
Panel: Tint2
Window system: Xorg X server
Comment 1 David Rosca 2019-03-06 17:06:58 UTC
Seems like regression: https://bugreports.qt.io/browse/QTBUG-65595
Comment 2 Juraj 2019-09-09 16:38:43 UTC
*** Bug 411460 has been marked as a duplicate of this bug. ***
Comment 3 trmdi 2019-09-24 08:48:58 UTC
(In reply to Juraj from comment #0)
> After few days of experiencing such behviour I came to conclusion that the
> culprit is TAB key event.

No, you can also easily reproduce the bug with just the mouse. See my bug report at https://bugs.kde.org/show_bug.cgi?id=405036#c2

However, if I place the cursor in the address bar before minimizing the tab, the bug will not happen.
Comment 4 trmdi 2019-10-07 08:31:36 UTC
I can no longer reproduce the bug for my case reported at https://bugs.kde.org/show_bug.cgi?id=411460.
Comment 5 trmdi 2019-10-07 08:32:21 UTC
(In reply to trmdi from comment #4)
> I can no longer reproduce the bug for my case reported at
> https://bugs.kde.org/show_bug.cgi?id=411460.

Qt 5.13.1 and Falkon 3.1.0
Comment 6 Juraj 2019-10-07 09:37:03 UTC
I can confirm, it seems "fixed" with qt 5.13.1