Closed Bug 277520 Opened 20 years ago Closed 19 years ago

Lacking header-info in /dcc-chat view

Categories

(Other Applications :: ChatZilla, defect)

x86
All
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jan, Assigned: rdmsoft)

References

(Blocks 1 open bug)

Details

(Whiteboard: [cz-0.9.72])

Attachments

(1 file, 1 obsolete file)

8.77 KB, patch
bugzilla-mozilla-20000923
: review+
Details | Diff | Splinter Review
When I /dcc-chat with someone it says "URL x-irc-dcc-chat://undefined:48000",
"Connected to <unknown>" and "Conversation with (null) (null)" in the header

Using 0.9.67 with firefox 1.0 on Linux/386
I got an IP in the URL here, but that was most likely because the other end
initiated, and I get " 	Conversation with (null) <unknown>" rather than (null)
(null), but it's certainly not working very well.

I think I'll need to try to fix the problem with the normal DCC status messages
that happens when you initiate, too.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Lacking header-info in /dcc-chat view → Lacking header-info in /dcc-chat view
Blocks: chatzilla1.0
Assignee: rginda → rdmsoft
Status: NEW → ASSIGNED
Attached patch first attempt (obsolete) — Splinter Review
- Changes the dcc-chat header to just include nick/ip/port, removing the link.
- Labels and disables the nick button for DCC views.
- Puts useful info in the window title for DCC views.
Attachment #214007 - Flags: review?(silver)
Comment on attachment 214007 [details] [diff] [review]
first attempt

>       <div class="header" id="dcc-chat-container" hidden="true">
>-        <table class="h-table">
>+        <table class="h-table" ID="Table1">

Um, "don't do that" ;)

>           <tbody>
>             <tr>
>-              <td class="label" localize="output.url"></td>
>-              <td class="value crop-right" width="100%">
>-                <a id="dcc-chat-url-anchor" class="chatzilla-link"
>-                   href="irc://foo/bar">irc://foo/bar</a>
>-              </td>
>+              <td id="dcc-chat-title" colspan="4" localize="none"></td>
>               <td class="label" id="dcc-chat-remotestr-l" localize="output.to"></td>
>               <td class="value" id="dcc-chat-remotestr" localize="none"></td>
>             </tr>
>-            <tr>
>-              <td id="dcc-chat-title" colspan="4" localize="none"></td>
>-            </tr>

Why was this moved? And more importantly, why on the same line as the other info? What about a screenshot?

> msg.title.net.on   = User %S on ``%S'' (%S:%S)
> msg.title.net.off  = User %S, not connected to network ``%S''
> msg.title.nonick   = <unregistered-user>
> msg.title.no.topic = No Topic
> msg.title.no.mode  = No Mode
> msg.title.channel  = "%S on %S (%S): %S"
> msg.title.user     = Conversation with %S %S"
>+msg.title.dccchat  = DCC Conversation with %S"
>+msg.title.dccfile.send = "%S%% of “%S” sent to %S"
>+msg.title.dccfile.get  = "%S%% of “%S” received from %S"

Don't like the idea of using those Unicode characters here when we don't for any other title. Use `` and '' for now, and feel free to file a bug to replace all of those uses in our strings with the Unicode ones (and remove the mungers).
Attachment #214007 - Flags: review?(silver) → review-
Attached patch patch the secondSplinter Review
Attachment #214007 - Attachment is obsolete: true
Attachment #214020 - Flags: review?(silver)
Attachment #214020 - Flags: review?(silver) → review+
Checked in --> FIXED
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Whiteboard: [cz-0.9.72]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: