maemo.org Bugzilla – Bug 2679
xterm needs also "Close window" menu option
Last modified: 2009-10-22 07:56:55 UTC
You need to log in before you can comment on or make changes to this bug.
Firmware: OS 2008, 2.2007.50-2 STEPS TO REPRODUCE THE PROBLEM: 1. Open two xterm sessions (start xterm, then in the Windows menu choose "New Window") 2. In either xterm, open the "Close" menu EXPECTED OUTCOME: I expect to see two options - "Close window" (close current window) and "Close all windows" ACTUAL OUTCOME: I only see "Close all windows" which means it is not possible to close the current xterm session from the menu but it is possible to close all xterm sessions from the menu. This makes no sense. The current session can only be terminated by clicking "x" (even exit/ctrl-d won't close the window - see bug 2678!) REPRODUCIBILITY: Always EXTRA SOFTWARE INSTALLED: openssh-server, Canola2, Python, mplayer OTHER COMMENTS: Any application that supports multiple windows, such as MicroB, offers the ability to close the current window or all windows via the Close menu. The xterm application should be updated to be consistent with this behaviour.
Failure to close window: Also see bug 2473.
No change in 4.2008.23-14 (Diablo, 4.1). I'm guessing that the xterm application is breaking some pretty fundamental UI specification rules by not having a "Close Window" menu option, and again by only providing the option to close ALL windows instead! CC'ing Roope... :)
Oh, that's definitely true, sounds weird. The xterm was produced in a rather non-standard UI process, and it certainly shows. :) Personally I think there should be only "close this window" command, having a submenu for closing commands is unnecessarily complicated. Anyway... I'll try to ask around what are the plans for Fremantle for xterm.
Created an attachment (id=908) [details] Add a "Close window" option The bug had fixed in this patch.
Shuping Cui, (In reply to comment #4) > Created an attachment (id=908) [details] [details] > Add a "Close window" option Please also provide a ChangeLog diff, describing what your patch fixes. Please avoid // comments, use /* */ instead. And the latest osso-xterm package includes exactly the code change that you attached here. Are you sure that your patch is correct and not inverted?
I changed this to enhancement as it's only about menu consistency (the individual window close functionality has always been there like noted also in the original report).
Still valid in 4.1.3 (5.2008.43-7) maemo release
Fremantle will provide a different concept for menus and this will not apply (it seems like there are no "Close window" menu items available at all by design). Unfortunately this is also a WONTFIX for Diablo as Diablo is in maintenance mode and Nokia will only provide bugfixes for critical issues if at all. For your interest the Mer project aims to provide a community backport of Fremantle for N8x0 devices. See http://wiki.maemo.org/Mer for more information.
Marking patches of interest to Diablo (Maemo4) community updates, please excuse the noise.