Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
e52546e8
Commit
e52546e8
authored
Feb 28, 2021
by
Jean-Baptiste Mardelle
Browse files
Improve focus handling when switching to fullscreen monitor.
Related to
#859
parent
7d3b3756
Pipeline
#52517
canceled with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/monitor/monitor.cpp
View file @
e52546e8
...
...
@@ -949,6 +949,7 @@ void Monitor::slotSwitchFullScreen(bool minimizeOnly)
m_glWidget
->
showNormal
();
auto
*
lay
=
(
QVBoxLayout
*
)
layout
();
lay
->
insertWidget
(
0
,
m_glWidget
,
10
);
setFocus
();
}
}
...
...
src/monitor/view/SceneToolBar.qml
View file @
e52546e8
...
...
@@ -50,6 +50,7 @@ MouseArea {
id
:
fullscreenButton
objectName
:
"
fullScreen
"
icon.name
:
"
view-fullscreen
"
focusPolicy
:
Qt
.
NoFocus
ToolTip.visible
:
hovered
ToolTip.delay
:
Qt
.
styleHints
.
mousePressAndHoldInterval
ToolTip.text
:
i18n
(
"
Switch Full Screen
"
)
...
...
Bruno Santos
@bsantos
·
Feb 28, 2021
Reporter
Will test again asap.
Will test again asap.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment