Bug 431307 - Video previews: when trying to drag time slider a menu is displayed
Summary: Video previews: when trying to drag time slider a menu is displayed
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: panels: information (show other bugs)
Version: 20.11.80
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-08 13:35 UTC by Paul Worrall
Modified: 2021-06-04 15:22 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screen recording showing menu pop-up (2.64 MB, video/x-matroska)
2021-01-08 18:03 UTC, Paul Worrall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Worrall 2021-01-08 13:35:20 UTC
SUMMARY
When trying to drag the time slider under a video preview, a context menu pops up preventing dragging

STEPS TO REPRODUCE
1. Select a video file so that it's preview is shown in the information panel
2. Try to drag the timeline slider under the preview
3. 

OBSERVED RESULT
A context menu is displayed, preventing dragging the slider

EXPECTED RESULT
Ability to drag the slider

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.20
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
Kernel Version: 5.4.0-59-generic
OS Type: 64-bit
Processors: 2 × AMD A6-6400K APU with Radeon(tm) HD Graphics
Memory: 7.7 GiB of RAM
Graphics Processor: AMD CEDAR

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-01-08 14:53:53 UTC
Works for me. Any chance you can attach a screen recording that shows the issue? Thanks!
Comment 2 Paul Worrall 2021-01-08 18:03:56 UTC
Created attachment 134665 [details]
Screen recording showing menu pop-up

The screen recording is attached.  It happens only if I hold the mouse still for a fraction of a second after clicking on the slider, it's OK if I move the mouse immediately.
Comment 3 Nate Graham 2021-01-08 18:10:09 UTC
Thanks, that's very helpful. Can reproduce.

This preview UI comes from baloo-widgets; moving there.
Comment 4 Stefan Brüns 2021-01-08 19:21:36 UTC
Thats the right mouse button emulation triggered by a long click, it shows the context menu (See Qt::TapAndHoldGesture, https://doc.qt.io/qt-5/gestures-overview.html).

This is explicitly enabled by dolphin (panels/information/informationpanelcontent.cpp).
Comment 5 Nate Graham 2021-01-08 19:22:36 UTC
Aha! Thanks for the investigation.
Comment 6 Paul Worrall 2021-01-26 17:41:19 UTC
(In reply to Stefan Brüns from comment #4)
> Thats the right mouse button emulation triggered by a long click, it shows
> the context menu (See Qt::TapAndHoldGesture,
> https://doc.qt.io/qt-5/gestures-overview.html).
> 
> This is explicitly enabled by dolphin
> (panels/information/informationpanelcontent.cpp).

Would this be to give access to the right mouse button menu on touch screens, and if so could dolphin enable it only on touch screen devices?

It does make dragging the slider very difficult on my desktop PC.
Comment 7 Patrick Silva 2021-06-04 15:22:50 UTC
Can reproduce with Dolphin 21.04.1 on Arch Linux.