orbitalquark / textadept

Textadept is a fast, minimalist, and remarkably extensible cross-platform text editor for programmers.
https://orbitalquark.github.io/textadept
MIT License
655 stars 39 forks source link

Warning when quitting textadept in Linux GTK setups #292

Closed paaguti closed 1 year ago

paaguti commented 1 year ago

I'm working on the last nightly (locally compiled) and I get the following warning when quitting Textadept:

~ ➤ textadept                                                                  

(textadept:11602): GLib-GObject-WARNING **: 07:54:37.445: invalid cast from 'ScintillaObject' to 'GtkPaned'
~ ➤ 

Reproduced on Ubuntu, XUbuntu and Kali Linux

orbitalquark commented 1 year ago

Under what conditions does this happen? I do not see this warning when opening and quitting Textadept, either with split views or without.

paaguti commented 1 year ago

This happens when I call textadept from the shell

On Fri, 11 Nov 2022 at 15:48, orbitalquark @.***> wrote:

Under what conditions does this happen? I do not see this warning when opening and quitting Textadept, either with split views or without.

— Reply to this email directly, view it on GitHub https://github.com/orbitalquark/textadept/issues/292#issuecomment-1311781577, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZKU4BXMUMMWFSXIPOIK4LWHZMCJANCNFSM6AAAAAAR5J4PUI . You are receiving this because you authored the thread.Message ID: @.***>

-- Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler

Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet

orbitalquark commented 1 year ago

I understand. I did that too. Does this happen every time you quit Textadept? Do you have any split views open? If I am to debug this I need more information because it's not happening to me under my set of test conditions.

paaguti commented 1 year ago

Unslip: 1 message Split: as many times as I split the view,

On Fri, 11 Nov 2022 at 16:54, orbitalquark @.***> wrote:

I understand. I did that too. Does this happen every time you quit Textadept? Do you have any split views open? If I am to debug this I need more information because it's not happening to me under my set of test conditions.

— Reply to this email directly, view it on GitHub https://github.com/orbitalquark/textadept/issues/292#issuecomment-1311874821, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZKU4HIQ7MAJSM4X45IWJDWHZTZ5ANCNFSM6AAAAAAR5J4PUI . You are receiving this because you authored the thread.Message ID: @.***>

-- Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler

Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet

orbitalquark commented 1 year ago

Bah, never mind. I'm always running in "no session" mode and it only happens when using sessions. Sorry about that. Fixed via https://github.com/orbitalquark/textadept/commit/49434c06024efe160bc8a6aa72c9c865df03440f