Bug 432645

Summary: Hover over a file preview appears on wrong monitor
Product: [Applications] konsole Reporter: d3coder <admin>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 20.12.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: attachment-9664-0.html

Description d3coder 2021-02-08 14:19:04 UTC
SUMMARY
Preview does not appear or appear on a wrong position

STEPS TO REPRODUCE
1. Start konsole
2. Go to profile settings
3. Enable this: Mouse -> More (2nd tab) -> Underline files
4. Maximize konsole
5. Do `ls` and hover over an image or directory
6. Try the same, but move konsole window to another window

OBSERVED RESULT
I observe that preview appears on a wrong monitor sometimes.
When konsole on a left monitor, preview appears in top left corner of right monitor
When konsole on a right monitor, preview might not appear

EXPECTED RESULT
Popup appears near the mouse

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.20.90
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 tcanabrava 2021-02-08 14:23:34 UTC
Created attachment 135507 [details]
attachment-9664-0.html

I'm the developer of such feature, but I only have one monitor, I really
can't test.
Can you try to fix / test this issue?

On Mon, Feb 8, 2021 at 2:19 PM d3coder <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=432645
>
>             Bug ID: 432645
>            Summary: Hover over a file preview appears on wrong monitor
>            Product: konsole
>            Version: 20.12.2
>           Platform: Other
>                 OS: Linux
>             Status: REPORTED
>           Severity: normal
>           Priority: NOR
>          Component: general
>           Assignee: konsole-devel@kde.org
>           Reporter: admin@xakeps.dk
>   Target Milestone: ---
>
> SUMMARY
> Preview does not appear or appear on a wrong position
>
> STEPS TO REPRODUCE
> 1. Start konsole
> 2. Go to profile settings
> 3. Enable this: Mouse -> More (2nd tab) -> Underline files
> 4. Maximize konsole
> 5. Do `ls` and hover over an image or directory
> 6. Try the same, but move konsole window to another window
>
> OBSERVED RESULT
> I observe that preview appears on a wrong monitor sometimes.
> When konsole on a left monitor, preview appears in top left corner of right
> monitor
> When konsole on a right monitor, preview might not appear
>
> EXPECTED RESULT
> Popup appears near the mouse
>
> SOFTWARE/OS VERSIONS
> Linux/KDE Plasma: Arch Linux
> (available in About System)
> KDE Plasma Version: 5.20.90
> KDE Frameworks Version: 5.78.0
> Qt Version: 5.15.2
>
> ADDITIONAL INFORMATION
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 2 d3coder 2021-02-08 14:54:49 UTC
Can't reproduce on master