Closed
Bug 207861
Opened 22 years ago
Closed 21 years ago
Rename Folder option is useless in the newsgroup
Categories
(SeaMonkey :: MailNews: Message Display, defect)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.7beta
People
(Reporter: pascalc, Assigned: Biesinger)
References
Details
(Keywords: regression, useless-UI, Whiteboard: fixed-aviary1.0)
Attachments
(6 obsolete files)
build 2003052508 WinXP
1 in MailNews right click on a newsgroup name
2 select "rename folder"
this option is useless for newsgroup which are not folder and has no effect,
Netscape 7.02 did not have this option
I think it should be removed for 1.4 on which Netcaspe will be built, this is
not a high risk change but useless UI shouldn't be shown into a commercial build
Reporter | ||
Updated•22 years ago
|
Flags: blocking1.4?
Reporter | ||
Comment 1•22 years ago
|
||
This useless option wasn't in Ns7.02, adding "regression" keyword.
Keywords: regression
Comment 2•22 years ago
|
||
I would like the "rename folder" function to be functioning. I have subscribed
some newsgroups on the support-forums.novell.com server and as the newsgroups
are organized hierarchically there, the name of the group (including the path)
is too long. As the result, I am getting abbreviated forms of the groups and I
am not able to differentiate between them.
Example:
for newsgroup named "novell.support.os.server.netware6x.install-upgrade"
I am getting "n.s.o.s.n.install-upgrade", which is unfortunatelly identical to
the abbreviation for the "novell.support.os.server.netware5x.install-upgrade"
newsgroup.
Updated•22 years ago
|
Flags: blocking1.4? → blocking1.4-
Reporter | ||
Comment 3•22 years ago
|
||
Since this is not a blocker for 1.4, I add a nsbeta1 keyword. Please, do not
release a Netscape 7.1 with a new context menu option which has no effect,
disable this option until there is some working code behind it!
Keywords: nsbeta1
Comment 5•22 years ago
|
||
Stop "Rename Folder" appearing in newsgroups.
Gerv
Comment 6•22 years ago
|
||
Taking bug.
Gerv
Assignee: sspitzer → gerv
Target Milestone: --- → mozilla1.5final
Comment 7•22 years ago
|
||
Comment on attachment 130970 [details] [diff] [review]
Patch v.1
Asking Seth for review
Attachment #130970 -
Flags: review?(sspitzer)
Comment 8•22 years ago
|
||
Comment on attachment 130970 [details] [diff] [review]
Patch v.1
why is the folder attribute "CanRename" true for a newsgroup?
that's unexpected, give this code:
http://lxr.mozilla.org/mozilla/source/mailnews/news/src/nsNewsFolder.cpp#473
we should find out what's going on here.
Comment 9•22 years ago
|
||
*** Bug 219998 has been marked as a duplicate of this bug. ***
Comment 10•22 years ago
|
||
I've seen some comments in here suggesting that the 'Rename Folder' context
menu item be removed all together from the newsgroups. I strongly disagree.
Martin Strobl described the problem in comment #2. I have a similar problem,
except to a larger degree (many NGs appear identical).
It would be great, if one could assign an alias to a newsgroup - a killer
feature for me.
Reporter | ||
Comment 11•22 years ago
|
||
Then file a RFE bug to get newsgroup aliases, this is a different issue
Updated•22 years ago
|
Attachment #130970 -
Flags: review?(sspitzer)
Comment 12•21 years ago
|
||
Comment 13•21 years ago
|
||
When will the patch finally be checked in? If you take a look at the code you
will see that somebody just forgot to add the && isMail condition in line 334 of
mailContextMenus.js because the variable isMail is set in the beginning of the
function but never used again. Ok, it is strange that canRename is true for
ngs... but why make a fool of Mozilla by keeping obviously nonsensical menuitems
that can be removed by changing one line in one file?
Assignee | ||
Comment 14•21 years ago
|
||
seth: the folder attribute isn't true. canRename becomes true because of this line:
canRename = canRename || !isSpecialFolder;
isSpecialFolder is, of course, false.
this line was added for bug 190354.
I'm attaching a new patch that I like more than the current patch here.
Assignee | ||
Comment 15•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #138344 -
Flags: review?(sspitzer)
Updated•21 years ago
|
Flags: blocking1.7b?
Updated•21 years ago
|
Attachment #138344 -
Flags: superreview+
Comment 16•21 years ago
|
||
Comment on attachment 138344 [details] [diff] [review]
patch v2
a=chofmann for 1.7b
Attachment #138344 -
Flags: approval1.7b+
Updated•21 years ago
|
Flags: blocking1.7b? → blocking1.7b+
Comment 17•21 years ago
|
||
Comment on attachment 138344 [details] [diff] [review]
patch v2
asking Neil for the r=
Attachment #138344 -
Flags: review?(sspitzer) → review?(neil.parkwaycc.co.uk)
Assignee | ||
Comment 18•21 years ago
|
||
Comment on attachment 138344 [details] [diff] [review]
patch v2
neil points out that I can just remove this line
Attachment #138344 -
Flags: review?(neil.parkwaycc.co.uk) → review-
Assignee | ||
Comment 19•21 years ago
|
||
Assignee: gerv → cbiesinger
Attachment #130970 -
Attachment is obsolete: true
Attachment #138330 -
Attachment is obsolete: true
Attachment #138344 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Updated•21 years ago
|
Attachment #143992 -
Flags: review+
Assignee | ||
Comment 20•21 years ago
|
||
Comment on attachment 143992 [details] [diff] [review]
(Av3) patch v3
[Checked in: Comment 23]
note, if you want this checked in today, I can't do it
Attachment #143992 -
Flags: superreview?(mscott)
Attachment #143992 -
Flags: approval1.7b?
Updated•21 years ago
|
Attachment #143992 -
Flags: superreview?(mscott) → superreview+
Comment 21•21 years ago
|
||
Comment on attachment 143992 [details] [diff] [review]
(Av3) patch v3
[Checked in: Comment 23]
carrying over the 1.7b approval for this patch
Attachment #143992 -
Flags: approval1.7b? → approval1.7b+
Comment 22•21 years ago
|
||
ShowMenuItem(...) needs to check isMail.
Comment 23•21 years ago
|
||
Comment on attachment 143992 [details] [diff] [review]
(Av3) patch v3
[Checked in: Comment 23]
Check in: { 03/17/2004 03:22 neil%parkwaycc.co.uk mozilla/ mailnews/
base/ resources/ content/ mailContextMenus.js 1.47 }
Attachment #143992 -
Attachment description: patch v3 → (Av3) patch v3
[Checked in: Comment 23]
Attachment #143992 -
Attachment is obsolete: true
Comment 24•21 years ago
|
||
(In reply to comment #22)
> ShowMenuItem(...) needs to check isMail.
Is an additional patch like
{{
- 333 ShowMenuItem("folderPaneContext-rename", (numSelected <= 1) && !isServer
&& !isSpecialFolder && canRename);
+ 333 ShowMenuItem("folderPaneContext-rename", (numSelected <= 1) && !isServer
&& (isMail && !isSpecialFolder) && canRename);
}}
needed, which would be more like |function SetupRemoveMenuItem(...)| ?
Otherwise, we should certainly remove the unused
{{
- 328 var isMail = serverType != 'nntp';
}}
(per comment 13)
OS: Windows XP → All
Hardware: PC → All
Target Milestone: mozilla1.5final → mozilla1.7beta
Comment 25•21 years ago
|
||
Ignore comment 22. (Hint: test with clean sources next time)
Assignee | ||
Comment 26•21 years ago
|
||
ok, this bug is fixed with neil's checkin. thanks for doing it for me.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 27•21 years ago
|
||
Unused |var isMail| removal, per previous comments.
Updated•21 years ago
|
Attachment #144270 -
Flags: review?(neil.parkwaycc.co.uk)
Updated•21 years ago
|
Attachment #144270 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Updated•21 years ago
|
Attachment #144270 -
Flags: superreview?(mscott)
Updated•21 years ago
|
Attachment #144270 -
Attachment description: (Bv1) <mailContextMenus.js> → (Bv1-SM) <mailContextMenus.js> (SeaMonkey part)
Updated•21 years ago
|
Attachment #144270 -
Flags: superreview?(mscott) → superreview+
Comment 28•21 years ago
|
||
Comment 29•21 years ago
|
||
Comment on attachment 151842 [details] [diff] [review]
(Bv1-TB) <mailContextMenus.js> (ThunderBird part)
[Checked in: Comment 31]
Could you (super-)review/check in this patch ? Thanks.
Attachment #151842 -
Flags: superreview?(mscott)
Attachment #151842 -
Flags: review?(mscott)
Comment 30•21 years ago
|
||
Comment on attachment 144270 [details] [diff] [review]
(Bv1-SM) <mailContextMenus.js> (SeaMonkey part)
[Checked in: Comment 30]
Check in: { 2004-06-28 01:43 neil%parkwaycc.co.uk mozilla/ mailnews/
base/ resources/ content/ mailContextMenus.js 1.51 }
Attachment #144270 -
Attachment description: (Bv1-SM) <mailContextMenus.js> (SeaMonkey part) → (Bv1-SM) <mailContextMenus.js> (SeaMonkey part)
[Checked in: Comment 30]
Attachment #144270 -
Attachment is obsolete: true
Comment 31•21 years ago
|
||
attachment 151842 [details] [diff] [review] checked into the 1.0 branch and the trunk for Thunderbird.
Thanks for the patch!
Whiteboard: fixed-aviary1.0
Updated•21 years ago
|
Attachment #151842 -
Flags: superreview?(mscott)
Attachment #151842 -
Flags: superreview+
Attachment #151842 -
Flags: review?(mscott)
Attachment #151842 -
Flags: review+
Updated•21 years ago
|
Attachment #151842 -
Attachment description: (Bv1-FF) <mailContextMenus.js> (FireFox part) → (Bv1-TB) <mailContextMenus.js> (ThunderBird part)
[Checked in: Comment 31]
Attachment #151842 -
Attachment is obsolete: true
Comment 32•21 years ago
|
||
Verified with
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a2) Gecko/20040710
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•