Comments (18)
Bug still present in 0.73.1.5 I'm afraid.
from kitty.
from kitty.
Hi,
I confirm that this bug continues.
Try this @cyd01 please:
kitty.exe -title TEST ...
Then the NAME of the Window will be for example the path of the shell. After that you can minimize the window. And after you can reopen the window, but then you'll see that the TITLE NAME is now "TEST" instead of the previous one.
I hope you can fix it.
Regards.
from kitty.
Please @fnxweb check last version. I feel this bug is solved.
from kitty.
Hi @cyd01 ,
Tested with the last version 0.73.2.3: If I execute kitty.exe -title TEST ...
then the word "TEST" appears in the Title Window. All OK. And I can minimize and restore, and it works.
However, if after that I execute kitty.exe ...
(that's without changing the title with the parameter -title
) then continues to appear the word "TEST" in the title. I feel something is stored from the previous session.
Please, check it. Other than that, I think the problem is solved.
Regards.
from kitty.
I did not reproduced. I've checked the code (search for -title in window.c).
} else if( !strcmp(p, "-title") ) {
i++ ;
conf_set_str( conf, CONF_wintitle, argv[i] );
The is no reason for the specified title is stored ... are you sure you did not save the session before running it (check Window\Behavior panel) ?
from kitty.
I did not reproduced. I've checked the code (search for -title in window.c).
} else if( !strcmp(p, "-title") ) { i++ ; conf_set_str( conf, CONF_wintitle, argv[i] );
The is no reason for the specified title is stored ... are you sure you did not save the session before running it (check Window\Behavior panel) ?
No. I run it from the command line! 😨
from kitty.
The issue is still present in 0.73.2.3 I'm afraid.
- Open a session — my login sets the title to the CWD immediately (“title 1”)
- Minimise then un-minimise window : title is reset to “IP-address/host - KiTTY”
- Set the title via the session / terminal escape sequences (“title 2”)
- Open settings and just then close settings : “title 2” “stored”
- Change title again (“title 3”)
- Minimise then open again: title has reverted to “title 2”
from kitty.
Hi @fnxweb ,
I think the same, the problem is not fixed. Something is wrong in the logic of the windows's title.
Regards.
from kitty.
Hi @cyd01
The issue is still present in 0.73.2.4. (Portable, if that makes a difference).
Any attempt to resize the window will immediately reset the window title to the original title (either whatever is configured/saved in the config, or the default "HOST - KiTTY" title)
Regards
from kitty.
Hi @systemmonkey42 ,
Then it will clear that's a problem with the title management. I hope @cyd can fix it at some point.
Regards.
from kitty.
I think I've found the source of the problem.
Open kitty.ini
and look for wintitle=
in the KiTTY section.
Setting wintitle=no
will keep remotely set titles
The default causes the remotely set title to be cleared every time the window size changes.
from kitty.
I don't think that'll help my use case, since I'm trying to keep my remotely set window titles, not disable them.
from kitty.
My wording is not the best. The default of wintitle=yes
resets the remotely set title on every window size change.
Set it to no
to allow remotely set title to stay set.
This does not disable remotely set titles.
from kitty.
Confirmed, thanks @systemmonkey42 — setting [KiTTY] / wintitle=no in a kitty.ini next to kitty.exe fixes/works around the problem.
I don't know what that setting is intended to do, it's not a mirror of the enable/disable-remote-window-titles setting in the GUI, so I don't know if there's another side effect.
from kitty.
Hi,
As defined here:
Line 1385 in e9be5bd
Line 160 in e9be5bd
The [KiTTY] / wintitle=no entry is to disable all the title management. But as defined here it's too another config variable to enforce a title:
KiTTY/0.73_My_PuTTY/settings.c
Line 706 in e9be5bd
Futhermore, if you check the code searching for "wintitle" your see lines like these:
KiTTY/0.73_My_PuTTY/terminal.c
Line 2779 in 54ea495
KiTTY/0.73_My_PuTTY/windows/winctrls.c
Line 2622 in 6561c7d
IMO, I feel the problem is related to an inconsistent processing of the title. I suspect that multiple actors are changing the title. Then some refactoring is required.
I hope it helps.
Regards.
from kitty.
Hi @cyd01 ,
Do you reviewed the code regarding the wintitle
variable?
from kitty.
Title is controlled by window event of course ... but it is controlled by terminal too.
You must check disable remote-controlled window title changing in Terminal/Features configuration panel.
from kitty.
Related Issues (20)
- download executables mixed up?
- Feature: mDNS service discovery
- Issue with Multi Tab Putty HOT 1
- Make prompt for "Allow far2l clipboard sync?" optional.
- Different interface between Win10 and Win11 HOT 5
- [Feature request]Please provide an installer with silent options
- Can the autoreconnect feature be added to the command line parameters? HOT 3
- [Feature request] "New duplicated session..." with default Host Name
- Terrapin vulnerability mitigation HOT 2
- How do I change 16 sessions for displaying opened sessions horizontally to just 3 sessions ?
- Kageant: Cannot get rid of bogus "Couldn't load this key" popup HOT 1
- UTF-8 encoded `Windows Title` is not decoded properly HOT 3
- How to adjust the space between lines?
- Buffer Overflow Vulnerabilities in KiTTY Start Duplicated Session Hostname (CVE-2024-25003) & Username (CVE-2024-25004) Variables
- Command Injection Vulnerability in KiTTY Get Remote File Through SCP Input (CVE-2024-23749)
- Is this project dead? Search for alternatives HOT 14
- [HELP] Is there a way to store auto-login username and password PER SESSION / per IP adress? HOT 2
- DetachedCertificate supported in Putty but not in Kitty HOT 1
- I can't see the option 'Wam before OSC52 clipboard sync' on low resolution display?
- CVE-2024-31497: Secret Key Recovery of NIST P-521 Private Keys Through Biased ECDSA Nonces in PuTTY Client HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kitty.