! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Do not allow to know what is already on the screen
Status:
RESOLVED: INVALID
Product:
Xfce4-terminal
Component:
General

Comments

Description ManFree 2018-12-20 00:29:50 CET
This bug is actual for fp from fpc package.
xfce4-terminal do not allow you to know what is already on the screen.
https://bugs.freepascal.org/view.php?id=34724
lxterminal works fine.
Comment 1 Igor editbugs 2019-01-02 18:32:09 CET
Hi, I've looked at the fp bug but I don't understand what "allow you to know what is already on the screen" means.

The issue might be related to vte: lxterminal is using an older (gtk2) version of vte (which is no longer supported) while xfce4-terminal has migrated to the up-to-date version. I don't know what vte features that aren't there fp is trying to use.

Egmont, if you're reading this - do you have any idea? Thanks!
Comment 2 Egmont Koblinger 2019-01-03 21:54:50 CET
I didn't want to be the first to comment :) but no, I don't understand it either.

Probably it's boils down to a difference between gtk2 and gtk3 based vte, but there's a slim chance it's the other way around (with older xfce4-terminal, and gtk3-based lxterminal). Then we'd need to get the output, probably using script(1), and compare in the two cases. If it's different, a difference in $TERM (e.g. xterm vs. xterm-256color) could also trigger a different behavior.

ManFree, could you please give us the version of both terminal emulators, as well as the output of echo $VTE_VERSION and echo $TERM in them?

Does it work in xterm?

Also, please run "script", followed by whatever freepascal program that triggers the problem, then type "exit" to quit script, and then attach the resulting "typescript" file.

I can't think of any potentially relevant feature that was dropped from VTE during these years. Reading back the contents is not allowed (and never was in VTE, as far as I know) due to security reasons, and is hardly allowed in any other terminals.

It could be a problem with saving/restoring the cursor, a bug in VTE 0.54.0 and 0.54.1 (https://gitlab.gnome.org/GNOME/vte/issues/48). Or it could be whatever else that I'm not thinking of right now...
Comment 3 Igor editbugs 2019-01-21 00:12:44 CET
Hi ManFree, any comments?
Comment 4 ManFree 2019-01-22 00:07:52 CET
The first test.

OK:
lxterminal --version
lxterminal 0.3.0

NOT OK:
xfce4-terminal --version
xfce4-terminal 0.8.7.4 (Xfce 4.12)

NOT OK:
xterm -version
XTerm(325)
echo $VTE_VERSION
(nothing)
echo $TERM
xterm-256color

NOT OK:
urpmq --sourcerpm vte
vte: vte-0.28.1-14.src.rpm

The second test.

OK:
LXTerminal 0.1.11

OK:
xfce4-terminal 0.6.3

NOT OK:
xterm -version
XTerm(312)
do not switch on shell, output is inside fp
echo $VTE_VERSION
(nothing)
echo $TERM
xterm

OK:
vte-0.28.2-15.mga5.i586
Comment 5 Egmont Koblinger 2019-01-22 00:10:20 CET
What are these first and second tests? How are we supposed to reproduce?
Comment 6 Igor editbugs 2019-09-17 22:18:05 CEST
No reply - closing.

Bug #14982

Reported by:
ManFree
Reported on: 2018-12-20
Last modified on: 2019-09-17

People

CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information