[jedit:plugin-bugs] #1919 Title bar session name setting problem with Sessions plugin 1.7

Lummo via jEdit-devel <[email protected]>
Newsgroups gmane.editors.jedit.devel
Message-ID </p/jedit/plugin-bugs/1919/fd58d0f45e7c4d634fab1134f3992ad16197a5f2.plugin-bugs@jedit.p.sourceforge.net>
It looks like you have also fixed another bug at the same time. Sessions is supposed to remember and restore the current session across jEdit sessions. It didn't, always starting up with the default 'None' session. I'd got used to that behaviour. It doesn't do that anymore and reloads the session that was active when jEdit shutdown. Thank you!


---

** [plugin-bugs:#1919] Title bar session name setting problem with Sessions plugin 1.7**

**Status:** open
**Group:** 
**Labels:** Sessions plugin v1.7 
**Created:** Sun Jun 26, 2022 02:54 AM UTC by Lummo
**Last Updated:** Tue Jun 28, 2022 04:40 AM UTC
**Owner:** Dale Anson


I am using jEdit 5.6, Sessions Manager Plugin v1.7, and Java 1.8.0_302, under Windows 10.

I wanted to turn off the session name in the title bar so unchecked 'Show session name in the jEdit title bar' and, for good measure 'Use "Session:" prefix in jEdit title bar'. It does not work. jEdit continues to show a session title in brackets in the title bar. The session title shown seems to get stuck to some previously used session, and changing session does not change it.  It's as though it gets initialised to some value and then is not changed on session change (as requested!). Setting 'Show session name in the jEdit title bar' back on results in the session name being updated in the title bar properly as expected.

The following sequence demonstrates the problem:

1. Plugins | Plugin Options... | Sessions | Set 'Show session name in the jEdit title bar' ON | Apply
2. View the title bar while changing sessions and observe that the session name in the title bar changes.
3. Note the last session name in the title bar.
4. Plugins | Plugin Options... | Sessions | Set 'Show session name in the jEdit title bar' OFF | Apply
5. Note that the title bar retains the previous session name as expected  because we're still in the same session.
6. Change session several times and note that the session name in the title bar does not change.
7. Repeat 1 and 2 and note that the session name in the title bar returns to changing as the session changes.

I have tried working with the sources of the Session plugin. I managed to make the list of sessions sort in a case insensitive way but could not track down the problem with the above.

What I am trying to achieve is to have the title bar contain "jEdit" as it does without the Sessions plugin loaded. This is so that I can identify jEdit windows with AutoHotkey and target macros defined for my external keypad to jEdit.

with regards,
Lummo



---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/jedit/plugin-bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/plugin-bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

-- 
-----------------------------------------------
jEdit Developers' List
[email protected]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.