Skip to content
GitLab
Next
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
gambas
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Custom issue tracker
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
3
Snippets
Groups
Projects
Show more breadcrumbs
Gambas
gambas
Compare revisions
89b94d073f718cbcad03cd33e03267ed5a2f702b to 9da50cffe4166c7be25233f53f508d62dd4753f2
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
gambas/gambas
Select target project
No results found
9da50cffe4166c7be25233f53f508d62dd4753f2
Select Git revision
Branches
AppImage
WorkSpace
cmake
evdev
exclamation-mark-completion
gb.chart2
gb.git
gb.joystick
gb.net.imap
gb.spreadsheet
gb.test
gb.test.tap
master
newdialogs
stable
Tags
3.11.0
3.11.1
3.11.2
3.11.3
3.11.4
3.12.0
3.12.1
3.12.2
3.13.0
3.14.0
3.14.1
3.14.2
3.14.3
3.15.0
3.15.1
3.15.2
3.16.0
3.16.1
3.16.2
3.16.3
3.17.0
3.17.1
3.17.2
3.17.3
3.18.0
3.18.1
3.18.2
3.18.3
3.18.4
3.19.0
3.19.1
3.19.2
3.19.3
3.19.4
3.19.5
3.19.6
3.20.0
3.20.1
3.20.2
3.20.3
help
v1.9.44
v1.9.45
v1.9.46
v1.9.47
v1.9.48
v1.9.49
v1.9.50
v1.9.51
v1.9.90
v1.9.91
v1.9.92
v2.0.0
v2.1
v2.1.1
v2.10
v2.10.1
v2.10.2
v2.11
v2.11.1
v2.12
v2.13
v2.13.1
v2.14
v2.15
v2.15.1
v2.15.2
v2.16.0
v2.17.0
v2.18.0
v2.19.0
v2.2
v2.2.1
v2.20.0
v2.20.1
v2.20.2
v2.21.0
v2.22.0
v2.23.0
v2.23.1
v2.24.0
v2.3
v2.4
v2.4.1
v2.5
v2.6
v2.7
v2.8
v2.8.1
v2.8.2
v2.9
v2.9.0
v2.99.1
v2.99.2
v2.99.3
v2.99.4
v2.99.5
v2.99.6
v2.99.7
v3.0.0
115 results
Swap
Target
gambas/gambas
Select target project
xmonader/gambas
gambas/gambas
gbWilly/gambas
dtardon/gambas
Davidmue/gambas
mmu_man/gambas
jguardon/gambas
tstueker/gambas
timsoft/gambas
yann64/gambas
Matthew-Collins/gambas
microhobby/gambas
ercoupeflyer/gambas
pebauer68/gambas
ptmarstech/gambas
christhal/gambas
tboege/gambas
christopherwoo/gambas
yusronarif/gambas
gen.braga/gambas
MelvinG24/gambas
Krischel/gambas
liang-wei/gambas
brucebruen/gambas
LibreDWG/gambas
SkyN9ne/gambas
zxMarce/gambas
lordheavy/gambas
ddabrahams76/gambas
GianluigiOr/gambas
rfc1394/gambas
wekan/gambas
bsteers4/gambas
fweimer-rh/gambas
CDCDCDCDCDCD/gambas
geekdu42/gambas
belmotek/gambas
jfrank1500/gambas
mfischerq/gambas
shiny0110/gambas
kk667788/gambas
bandali/gambas
64sys/gambas
justlostintime/gambas
aleasto/gambas
bgermann/gambas
linusky/gambas
47 results
89b94d073f718cbcad03cd33e03267ed5a2f702b
Select Git revision
Branches
AppImage
WorkSpace
cmake
evdev
exclamation-mark-completion
gb.chart2
gb.git
gb.joystick
gb.net.imap
gb.spreadsheet
gb.test
gb.test.tap
master
newdialogs
stable
Tags
3.11.0
3.11.1
3.11.2
3.11.3
3.11.4
3.12.0
3.12.1
3.12.2
3.13.0
3.14.0
3.14.1
3.14.2
3.14.3
3.15.0
3.15.1
3.15.2
3.16.0
3.16.1
3.16.2
3.16.3
3.17.0
3.17.1
3.17.2
3.17.3
3.18.0
3.18.1
3.18.2
3.18.3
3.18.4
3.19.0
3.19.1
3.19.2
3.19.3
3.19.4
3.19.5
3.19.6
3.20.0
3.20.1
3.20.2
3.20.3
help
v1.9.44
v1.9.45
v1.9.46
v1.9.47
v1.9.48
v1.9.49
v1.9.50
v1.9.51
v1.9.90
v1.9.91
v1.9.92
v2.0.0
v2.1
v2.1.1
v2.10
v2.10.1
v2.10.2
v2.11
v2.11.1
v2.12
v2.13
v2.13.1
v2.14
v2.15
v2.15.1
v2.15.2
v2.16.0
v2.17.0
v2.18.0
v2.19.0
v2.2
v2.2.1
v2.20.0
v2.20.1
v2.20.2
v2.21.0
v2.22.0
v2.23.0
v2.23.1
v2.24.0
v2.3
v2.4
v2.4.1
v2.5
v2.6
v2.7
v2.8
v2.8.1
v2.8.2
v2.9
v2.9.0
v2.99.1
v2.99.2
v2.99.3
v2.99.4
v2.99.5
v2.99.6
v2.99.7
v3.0.0
115 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Workaround that opens the popup menus at the expected place.
· 5abdab14
Benoît Minisini
authored
4 years ago
[GB.QT5] * BUG: Workaround that opens the popup menus at the expected place.
5abdab14
Merge branch 'wayland' of
https://gitlab.com/gambas/gambas
into wayland
· 9da50cff
Benoît Minisini
authored
4 years ago
9da50cff
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
gb.qt4/src/CMenu.cpp
+14
-0
14 additions, 0 deletions
gb.qt4/src/CMenu.cpp
with
14 additions
and
0 deletions
gb.qt4/src/CMenu.cpp
View file @
9da50cff
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
#include
<QMenu>
#include
<QMenu>
#include
<QKeyEvent>
#include
<QKeyEvent>
#include
<QActionGroup>
#include
<QActionGroup>
#include
<QWindow>
#include
"gambas.h"
#include
"gambas.h"
#include
"gb_common.h"
#include
"gb_common.h"
...
@@ -1030,6 +1031,19 @@ void CMenu::slotShown(void)
...
@@ -1030,6 +1031,19 @@ void CMenu::slotShown(void)
GET_MENU_SENDER
(
menu
);
GET_MENU_SENDER
(
menu
);
HANDLE_PROXY
(
menu
);
HANDLE_PROXY
(
menu
);
#ifdef QT5
if
(
menu
->
menu
->
windowHandle
())
{
QWidget
*
parent
=
qApp
->
activePopupWidget
();
if
(
!
parent
)
parent
=
qApp
->
activeWindow
();
if
(
parent
)
{
//fprintf(stderr, "set menu transient to %p\n", parent->windowHandle());
menu
->
menu
->
windowHandle
()
->
setTransientParent
(
parent
->
windowHandle
());
}
}
#endif
GB
.
Ref
(
menu
);
GB
.
Ref
(
menu
);
menu
->
opened
=
TRUE
;
menu
->
opened
=
TRUE
;
...
...
This diff is collapsed.
Click to expand it.