Page MenuHomePhabricator

Terminology windows shrinking when using tabs
Closed, ResolvedPublic

Description

I submitted a bug report to Mageia Bugzilla about this issue, but I believe it may be an issue with either an issue with Terminology or libs.

The issue isn't present when disabling "Show tabs" in Settings.

https://bugs.mageia.org/show_bug.cgi?id=20717

I'm using an updated Mageia 6 x86_64.

Uploaded a video that shows the issue.
https://www.youtube.com/watch?v=bA-puXX3KlQ

Hi.

Just compiled EFL fresh from git and terminology again against the newly built libs.

Still get the same issue. It also happens sometimes when I click the New button to get a new tab.

Also

ERR<14816>:eo lib/eo/eo_base_class.c:1363 efl_event_callback_array_del() EOID 0x800000620ee3165d is not a valid object. EOID domain=0, current_domain=0, local_domain=0. EOID generation=6e3165d, id=c41, ref=1. Thread self=main. Available domains [0 1    ]. Maybe it has been deleted or does not belong to your thread?

This is really strange. I'll try to reproduce it next week while on holidays.

Hi.

I'm still getting the same behavior as before with an updated efl and terminology from git.

Have a new error message as well.

ERR<30040>:termpty termpty.c:201 _fd_read_do() error while reading from tty slave fd: Input/output error

I think it came when I was closing tabs with Ctrl-D after I had opened up about 20 tabs to check for the issue.

I've tried but I can not reproduce your issue :( and thus I have no idea on how to fix it.
Do you have the same behavior on a different window manager?

funny. if you are on X, can you try to run xev -root > /tmp/terminology-xev in terminology to see if it gets any X events when switching tabs?

while i don't see your behaviour, xev for example prints for me (under e 0.21.8):

ConfigureNotify event, serial 20, synthetic NO, window 0x4a2,
    event 0x4a2, window 0x40003d, (1280,1044), width 1920, height 36,
    border_width 0, above 0x56446b, override YES

ConfigureNotify event, serial 20, synthetic NO, window 0x4a2,
    event 0x4a2, window 0x56580e, (1280,1069), width 1920, height 11,
    border_width 0, above 0x5a7add, override YES

ConfigureNotify event, serial 20, synthetic NO, window 0x4a2,
    event 0x4a2, window 0x59936e, (1280,1069), width 1920, height 11,
    border_width 0, above 0x400031, override YES

PropertyNotify event, serial 20, synthetic NO, window 0x4a2,
    atom 0x169 (_NET_ACTIVE_WINDOW), time 936946260, state PropertyNewValue

ConfigureNotify event, serial 20, synthetic NO, window 0x4a2,
    event 0x4a2, window 0x400032, (1359,1), width 1840, height 1042,
    border_width 0, above 0x40001c, override YES

ConfigureNotify event, serial 20, synthetic NO, window 0x4a2,
    event 0x4a2, window 0x400019, (1359,1), width 1840, height 1042,
    border_width 0, above 0x40001f, override YES

ConfigureNotify event, serial 20, synthetic NO, window 0x4a2,
    event 0x4a2, window 0x5103ff, (1358,61), width 1842, height 1019,
    border_width 0, above 0x400019, override YES

ConfigureNotify event, serial 20, synthetic NO, window 0x4a2,
    event 0x4a2, window 0x56580b, (1358,61), width 1842, height 1019,
    border_width 0, above 0x400033, override YES

I've the same issue, and I think it's due to the font line height not being a multiple of the terminal's client height or something like this. It seems it removes exactly 2 lines after switching tabs. In fact, when switching tabs, the last line of the terminal is scrolled up 1 place (so after switching the "used to be last line" is now previous last line and an empty line is displayed as the last line). The first 2 lines in the terminal have now disappeared.
I'm using KDE on ArchLinux (plasma desktop on a Xorg server)

The ICCCM WM_SIZE_HINTS are wrong when using visible tabs. I'll have to change that. I guess you have the same issue with splits?

No, split seems to work fine (they don't resize the window), however, they remove the last line (scrolling up, like I said above).