Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[fixed] GNOME 43 + GTK4 : Context menu strange actions
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Adrien.D
Apprentice
Apprentice


Joined: 18 Jan 2015
Posts: 157

PostPosted: Wed Feb 01, 2023 5:53 pm    Post subject: [fixed] GNOME 43 + GTK4 : Context menu strange actions Reply with quote

Hello,

On my computer, wince i have updated to GNOME43, i have some troubles with context menus.

To explain, see the animation on my PC :

[img]https://zupimages.net/up/23/05/ubrx.gif[/img]

Opening context menu looks like good but when i want to select an entry strange comportement.

Do you have that ?

It's to know if i must open a bug or it's just me

No issue with GNOME42
_________________
Desktop : MSI Gaming Pro X470 - AMD Ryzen 5 2600X - RX 560 - OpenRC GNOME - gentoo-sources-6.1 LTS
Server : Acer Barebone - Intel i3-8100T - OpenRC CLI - gentoo-sources-5.4 LTS
VMs : A lot of VMS to practice Gentoo of course :) (proxmox, virtualbox)


Last edited by Adrien.D on Thu Feb 02, 2023 3:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1438
Location: Earth

PostPosted: Wed Feb 01, 2023 6:31 pm    Post subject: Reply with quote

this is a known issue https://gitlab.gnome.org/GNOME/gtk/-/issues/5310

here's a fix/workaround https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5285

https://gitlab.gnome.org/GNOME/gtk/-/commit/a9c9678e1f617755368f16424a03ae1f2d2ced4e

i hope someone is so kind and create a patch or (learn) to do it yourself :)

8)

EDIT:

i just looked at gentoos gui-libs/gtk-4.8.3 and the patch is already applied :!: :?:

are you using X11 or Wayland? - it seems to be an X11 issue + Nvidia.

Mesa was fixed too https://gitlab.freedesktop.org/mesa/mesa/-/issues/7808
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
Adrien.D
Apprentice
Apprentice


Joined: 18 Jan 2015
Posts: 157

PostPosted: Wed Feb 01, 2023 11:22 pm    Post subject: Reply with quote

I use AMD

AMD Ryzen 5 2600X + Radeon RX 560

Display: x11 server: X.org v: 1.21.1.6 with: Xwayland v: 22.1.7 driver: amdgpu

I can't use Wayland at this moment, because i need Xorg for some softwares which don't work with Wayland (Anydesk) or configuration need change (obs studio)

I don't know how i can fix with workaround (for example force EGL) ? Or i don 't understand

Edit : i have gui-libs/gtk-4.8.2-r1 i try to unmask to test
_________________
Desktop : MSI Gaming Pro X470 - AMD Ryzen 5 2600X - RX 560 - OpenRC GNOME - gentoo-sources-6.1 LTS
Server : Acer Barebone - Intel i3-8100T - OpenRC CLI - gentoo-sources-5.4 LTS
VMs : A lot of VMS to practice Gentoo of course :) (proxmox, virtualbox)
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1438
Location: Earth

PostPosted: Thu Feb 02, 2023 3:33 pm    Post subject: Reply with quote

Quote:
Edit : i have gui-libs/gtk-4.8.2-r1 i try to unmask to test

yes, the current 4.8.3 version has the glitch patch (i found it in /var/tmp/portage/gui-libs/gtk-4.8.3/work/gtk-4.8.3/gdk/x11/gdkglcontext-glx.c) and current available mesa, too :!:

this is only a snippet:
Code:
  /* Work around a glitch, see
   * https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5281
   */
  if (glXGetCurrentContext () != self->glx_context)
    glXMakeContextCurrent (dpy, None, None, NULL);

8)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "


Last edited by CooSee on Thu Feb 02, 2023 6:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
Adrien.D
Apprentice
Apprentice


Joined: 18 Jan 2015
Posts: 157

PostPosted: Thu Feb 02, 2023 3:50 pm    Post subject: Reply with quote

Yes i rebooted and now with gui-libs/gtk-4.8.3 issue fixed
_________________
Desktop : MSI Gaming Pro X470 - AMD Ryzen 5 2600X - RX 560 - OpenRC GNOME - gentoo-sources-6.1 LTS
Server : Acer Barebone - Intel i3-8100T - OpenRC CLI - gentoo-sources-5.4 LTS
VMs : A lot of VMS to practice Gentoo of course :) (proxmox, virtualbox)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum