Re: [Github-comments] [geany/geany] geany freezes 10 seconds when I save or edit coming from another app (ubuntu 20.10) (#2737)

2021-01-27 Thread elextr
Are you using XWayland, if so try running Geany without X just purely Wayland 
with `GDK_BACKEND=wayland geany`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2737#issuecomment-768709449

Re: [Github-comments] [geany/geany] geany freezes 10 seconds when I save or edit coming from another app (ubuntu 20.10) (#2737)

2021-01-27 Thread JLuc
OS is Ubuntu 20.10 and help > Debug says :
```
00:22:24: GLib-GIO DEBUG: _g_io_module_get_default: Found default 
implementation gvfs (GDaemonVfs) for ‘gio-vfs’
00:22:24: Geany INFO: Geany 1.36, fr_FR.UTF-8
00:22:24: Geany INFO: GTK 3.24.23, GLib 2.66.1
00:22:24: Geany INFO: System data dir: /usr/share/geany
```
Only one plugin is active : "Export"
The physical HD and SSD are the same as before. All partitions are ext4 except 
boot/efi is vfat.
Here is the simplified /etc/fstab : 
```
# SSD : 200Go,  sda1 and sda2 :
UUID= /   ext4errors=remount-ro 0   1
UUID=  /boot/efi   vfatumask=0077  0   1
# HD : 2 To, sdb1 and sdb2 : 
UUID=   /DATA  ext4 defaults 0 2
UUID= /PARTAGE ext4 defaults 0 2

```
The filesystem is organised slightly differently as before on Ubuntu 20.04 but 
i only remember some differences : 
- there was another "PROFILE" partition on SSD for thunderbird datas and 
firefox profiles, and now there is no such specific partition
- SSD ext4 partition was sdb2 (now is sdb1)
- /home was crypted and afaik it isnt now

All partition are at least half free

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2737#issuecomment-768673471

Re: [Github-comments] [geany/geany] geany F5 trouble (command works only the first time) (#2738)

2021-01-27 Thread elextr
Closed #2738.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2738#event-4258489177

Re: [Github-comments] [geany/geany] geany F5 trouble (command works only the first time) (#2738)

2021-01-27 Thread elextr
This is intended behaviour, Geany only allows one execute at a time and you may 
notice that the menu and toolbar icon changes to some form of stop or cancel 
icon which if pressed will kill the terminal, and so the running process (in 
case your new program gets into an infinite loop :) and when you close the 
terminal (after you have read the messages your program printed) the icon 
reverts and a new execute can happen.

However some terminal emulators circumvent this behaviour.  Instead of running 
a new window they open a new tab in an existing terminal emulator window and 
exit immediately, telling Geany that the execute is finished so a new execute 
can start but losing the kill ability.  

IIRC the KDE terminal emulator is one of those, and thats likely the behaviour 
you have been seeing in the past if there was already a terminal running.  But, 
if the terminal Geany runs happens to be the first one opened, it of course has 
to open a window and it keeps running, so Geany behaves as expected since the 
terminal process doesn't close immediately.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2738#issuecomment-768653319

Re: [Github-comments] [geany/geany] geany freezes 10 seconds when I save or edit coming from another app (ubuntu 20.10) (#2737)

2021-01-27 Thread elextr
This is a recorded message, please always provide the version of Geany, Glib 
and GTK and the operating system and version you are using (see lines near the 
top of Help->Debug Messages).

Are you saving on the exact same file, filesystem, and partition as you did in 
20.04 or has it been re-built or moved and what is the filesystem?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2737#issuecomment-768642716

Re: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736)

2021-01-27 Thread elextr
Closed #2736.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2736#event-4258379753

Re: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736)

2021-01-27 Thread elextr
> Geany opens fine, and is not segfaulting,

Good, that means there is something in the setup or settings that is weird, but 
it nonetheless should not cause a segfault.

> Now it is not segfaulting anymore even with the regular config.

Thats weird, and bad because that means we can't track down what weirdness is 
causing the segfaulting and protect against it.

If it happens again can you try running Geany under gdb and get a backtrace 
showing where it segfaults and re-open this and post here?

The behaviour you describe with only one new document open is the intended 
behaviour.  There is an option to always open a new document when the last is 
closed because someone didn't like having an empty space where the editor tabs 
go, but since it was just a space filler they deleted it when the user opened 
or created a document, but they did that always.  So when you create a new 
document and there is only one existing document and it has no backing file and 
is unmodified it is deleted and you see that message in the status.  

A side effect of this is that unless you have more than one document open or 
one file backed or modified document open you can't open multiple empty 
documents.  Although there have been various discussions about this over the 
years nobody has found the use-case of opening _only_ multiple empty documents 
sufficiently important to make the code to change it.   For example add a flag 
to the "fake" document and only delete the single document it if its flagged as 
well as being unmodified and not file backed, so not deleting user created 
empty documents.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2736#issuecomment-768639702

[Github-comments] [geany/geany] geany F5 trouble (command works only the first time) (#2738)

2021-01-27 Thread reregaga
# geany F5 trouble

## Description of problem

F5 - works only the first time 
restarting F5 is possible only if you press ENTER in the "terminal" window or 
enter command, example 'clear'

### Video

https://user-images.githubusercontent.com/76629445/106052373-8981ae80-60fa-11eb-9c13-7b34503d486a.mp4

## What i want

work every time a button F5 is pressed

## Environment

tested on all geany versions 
geany 0.21, 1.22, 1.23, 1.24

Slackware 12.2 
TDE-3.5.12
terminal client: konsole/kde3

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2738

[Github-comments] [geany/geany] geany freezes 10 seconds when I save (ubuntu 20.10) (#2737)

2021-01-27 Thread JLuc
This happens since i upgraded to Ubuntu 20.10 : each time i save the opened 
document, geany freezes about 10 seconds. 
- This happens whether the file is long (several ko) or short (a couple of 
words)
- This happens whether saved on HD or SSD
- When i type something during the freeze, typed text appears later on screen, 
when geany wakes up.
- It doesnt prevent me of switching to another task. But i dont expect to have 
to do that when saving a text file so i rarely try to escape the freeze in such 
a way.
- When i save after typing only one or 2 letters, then the freeze is shorter : 
0 to 1 second. Same when i copy'n'paste the same content. Hard to grasp when it 
does freeze or not, but it has been freezing since the begining of 20.10 and 
still does.
- When looking at htop display, i dont see a big surge in any process. "geany" 
and "Xorg vt2" are the heaviest process with 2 to 13% max

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2737

Re: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736)

2021-01-27 Thread gsi-nestor
Now it is not segfaulting anymore even with the regular config. Maybe we should 
close this here and move forward with this last behavior.

Thank you very much for your time

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2736#issuecomment-768303938

Re: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736)

2021-01-27 Thread gsi-nestor
The problem changes a little bit. Geany opens fine, and is not segfaulting,
but if I press "New document" nothing happens, but in the message console I
get:

08:50:51: This is Geany 1.37.1.
08:50:51: New file "untitled" opened.
08:50:54: File untitled closed.
08:50:54: New file "untitled" opened.
08:50:54: File untitled closed.
08:50:55: New file "untitled" opened.
08:50:55: File untitled closed.
08:50:55: New file "untitled" opened.
08:50:55: File untitled closed.
08:50:55: New file "untitled" opened.

Visually, there is only a new file tab in the editor area. Please see the
attached file.


On Tue, Jan 26, 2021 at 11:57 PM elextr  wrote:

> try starting geany as geany -c /tmp/something_that_does_not_exist and see
> if the problem persists.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> , or
> unsubscribe
> 
> .
>


-- 
*Nestor Alonso*
CTO
General Software Inc
(786) 230-8081 <+17862308081>
nes...@generalsoftwareinc.com | LinkedIn





-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2736#issuecomment-768299234

Re: [Github-comments] [geany/geany] Slow startup (#2649)

2021-01-27 Thread Andy Alt
Hi @gsi-nestor, and welcome to the Geany project. Thank you for reporting your 
OS and specs.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2649#issuecomment-768042403

Re: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736)

2021-01-27 Thread elextr
try starting geany as `geany -c /tmp/something_that_does_not_exist` and see if 
the problem persists.  

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2736#issuecomment-768030488

Re: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736)

2021-01-27 Thread gsi-nestor
I've disabled all plugins and the problem remains.

On Tue, Jan 26, 2021 at 10:35 PM elextr  wrote:

> Note WFM on Linux Mint 20 which is derived from Ubuntu 20.04.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> , or
> unsubscribe
> 
> .
>


-- 
*Nestor Alonso*
CTO
General Software Inc
(786) 230-8081 <+17862308081>
nes...@generalsoftwareinc.com | LinkedIn





-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2736#issuecomment-768022278

Re: [Github-comments] [geany/geany] Slow startup (#2649)

2021-01-27 Thread gsi-nestor
I'll be patient, thanks.

El mar., 26 ene. 2021 10:49 p.m., elextr 
escribió:

> @gsi-nestor  its only been just over a
> week since last post, be patient or provide a PR.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> , or
> unsubscribe
> 
> .
>


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2649#issuecomment-768021740