[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-05-21 Thread Colomban Wendling via Github-comments
FWIW, it *is* enough to change the output of `glxinfo`. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3843#issuecomment-2122562997 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-05-21 Thread elextr via Github-comments
¯\\_(ツ)_/¯ -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3843#issuecomment-2122555486 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-05-21 Thread Colomban Wendling via Github-comments
…and no crashes either with 1.39 at a random commit with Compiz under Debian Buster. So either those don't reproduce the issue, or simply setting `XLIB_SKIP_ARGB_VISUALS=1` for the Geany process isn't enough to cause the issue. -- Reply to this email directly or view it on GitHub:

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-05-21 Thread Colomban Wendling via Github-comments
Possibly, but I just tried enabling Metacity's compositor (xrender) with no crashes either. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3843#issuecomment-2122542648 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-05-21 Thread elextr via Github-comments
> non-composited Metacity WM under MATE Doesn't that setting relate to composited WMs? -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3843#issuecomment-2122536891 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-05-21 Thread Colomban Wendling via Github-comments
FWIW I just tested, I can't reproduce the crash simply by setting `XLIB_SKIP_ARGB_VISUALS=1` on my machine (Debian Bookworm, non-composited Metacity WM under MATE -- weird setup you say? bah :grin:) -- Reply to this email directly or view it on GitHub:

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-05-21 Thread elextr via Github-comments
I dunno, thats what came up related to `XLIB_SKIP_ARGB_VISUALS`, anyway not worth learning now, Wayland is the future. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3843#issuecomment-2121988695 You are receiving this because you are subscribed to

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-05-21 Thread Colomban Wendling via Github-comments
@elextr I wouldn't trust X11R6 release notes on this :). It possibly was not useful back then, but it seems useful for transparency in apps. Then again I might lack knowledge on this, but it seems to be the generally accepted idea. -- Reply to this email directly or view it on GitHub:

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-05-20 Thread elextr via Github-comments
> but they all seem to handle the case the visual isn't found Its not that it isn't found, its that apps (and that includes GTK) are not supposed to use them even if they do exist, from my link above "Most X applications ignore this visual since it is not useful to them; however some

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-05-20 Thread Colomban Wendling via Github-comments
> Sounds like its GTK thats misusing the visuals since its not just Geany thats > affected. Well, it could be that several apps don't properly check the presence of RGBA visuals and just assume they work. But indeed in Geany and Scintilla I don't see any obvious match. In GTK there are a

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-05-20 Thread elextr via Github-comments
Sounds like its GTK thats misusing the visuals since its not just Geany thats affected. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3843#issuecomment-2120445875 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-05-20 Thread Colomban Wendling via Github-comments
@felixzng cool, that's also instructive and might allow to actually fix it. No guarantee, but at least we've got an idea where to look (unchecked usage of ARGB visuals) -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3843#issuecomment-2120427383 You

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-05-20 Thread FxZng via Github-comments
Finally was able to track this down to env var XLIB_SKIP_ARGB_VISUALS=1. This caused crashes for some gtk based apps like geany, pluma etc... unsettling it works. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3843#issuecomment-2120393166 You

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-04-21 Thread Colomban Wendling via Github-comments
didn't you have a fresh install before already? Not sure, but maybe your hardware (hard drive maybe) is faulty? -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3843#issuecomment-2068206133 You are receiving this because you are subscribed to this

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-04-21 Thread Colomban Wendling via Github-comments
Closed #3843 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3843#event-12552031399 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-04-21 Thread FxZng via Github-comments
Thank you. I have decided to take an easy way out and do fresh install. All works now. Cheers. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3843#issuecomment-2068202888 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-04-21 Thread Colomban Wendling via Github-comments
>From looking at the backtrace and the relevant GTK source code, this seems >entirely unrelated to Geany itself (apart for Geany using GTK3, that is). It >looks like either there is a bug in your `XVisualIDFromVisual()` (which could >come from a driver bug maybe?), or a bug in GTK on how it

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-04-16 Thread elextr via Github-comments
There are some reports of weirdnesses with XWayland and GTK, which have been fixed by running Geany as Wayland as I mentioned. But havn't had any reports that can be traced to real xorg and GTK (that my quick search on Geany issues found anyway), and it is just fine on my Linux Mint (which is

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-04-16 Thread FxZng via Github-comments
Looks like this it is not new issue. First reported 2 year back on Fedora thread. Probably not geany specific, but some odd interaction between gdk3 and x11 -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3843#issuecomment-2058934069 You are

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-04-16 Thread FxZng via Github-comments
Thanks I will give at shot. My current default backed is x11 -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3843#issuecomment-2058915676 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-04-16 Thread elextr via Github-comments
Sounds like something is wrong with your brand new Ubuntu. Are you running Wayland? If so try `GDK_BACKEND=wayland geany`. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3843#issuecomment-2058899522 You are receiving this because you are subscribed

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-04-16 Thread FxZng via Github-comments
I have also built current geany 2.0. It runs with same outcome (.i.e crashes when attempting to select any text) -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3843#issuecomment-205841 You are receiving this because you are subscribed to this

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-04-16 Thread FxZng via Github-comments
This is geany 1.38 Below is complete debug log GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-04-16 Thread elextr via Github-comments
Its hard to say anything except that the problem occurs inside the X11 library called from GDK called from GTK during the initialisation of the displays called from Geany at line `#11`. We don't even know the version of Geany. -- Reply to this email directly or view it on GitHub: