Bug 400889 - View panel focuses parent on right click
Summary: View panel focuses parent on right click
Status: RESOLVED FIXED
Alias: None
Product: krusader
Classification: Applications
Component: krviewer (show other bugs)
Version: 2.7.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-11-09 20:59 UTC by Robert Silvia
Modified: 2020-05-02 11:29 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Silvia 2018-11-09 20:59:19 UTC
SUMMARY
Right clicking inside the view panel is focusing the parent panel causing any selection to be removed making the context menu unusable in the view panel.

STEPS TO REPRODUCE
1. Toggle on the view panel.
2. Select a text file to be displayed.
3. In the view panel select some text.
4. Right click the selected text to copy it.

OBSERVED RESULT
The parent is refocused and the view panel is redrawn. Any selected text is deselected and the cursor position is brought to the top of the file.

EXPECTED RESULT
Focus stays in the view panel allowing selected text to be copied to clip board.

SOFTWARE/OS VERSIONS
Linux 4.18.0
Kubuntu 18.10
KDE Plasma 5.13.5
KDE Frameworks 5.50.0
Qt 5.11.1 (built against 5.11.1)
Comment 1 Alex Bikadorov 2018-11-11 13:58:35 UTC
I can confirm the buggy behaviour.
Comment 2 Nikita Melnichenko 2018-11-15 07:07:02 UTC
I confirm too.
Comment 3 Davide Gianforte 2020-05-01 20:54:16 UTC
Can you confirm on a newer version (2.7+)?

Thanks
Comment 4 Robert Silvia 2020-05-02 09:27:55 UTC
I upgraded last weekend to Kubuntu 20.04 (krusader v2.7.2), I was quite pleased to find that the issue is no longer occurring.