Closed Bug 271621 Opened 20 years ago Closed 20 years ago

Dark line at top of status bar doesn't show.

Categories

(Camino Graveyard :: General, defect)

PowerPC
macOS
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED
Camino0.9

People

(Reporter: camino, Assigned: me)

Details

Attachments

(1 file, 1 obsolete file)

Some where in the swicth from Jaguar to Panther Camino stoped showing the dark line at the top of the status bar. But more recent users are also saying it doesn't show anymore on 10.2.8. Following are some ideas from a non coder: - it might be that Apple made a change somewhere that caused the line to not be painted for a mysterious reason. - The status bar isn't a custom view as I would have expected, but is just a regular ns view in the nib that is dynamically ofset. Maybe that's why a line is not shown? - when using a custom view you need to put some code to make sure a border is painted. This is done for the bookmark toolbar in BookmarkToolbar.mm line 327-336 for the bottom border. - I had a look to BrowserWindowController.mm to see if there was anything writen there that would suggest that we want to draw a border but I couldn't find anything like I did find in the bookmark bar code. It would be very nice if we could get back the line, I know it's a detail but right now it looks a bit funky.
Severity: normal → enhancement
Target Milestone: --- → Camino0.9
I think the new tabs did this... honestly, it's no mystery to me why it's not there. I'm not sure how it was getting there before though :-) Taking.
Status: NEW → ASSIGNED
Assignee: pinkerton → me
Status: ASSIGNED → NEW
A trivial NSView subclass takes care of the problem. To apply the patch: 1. rm -rf camino/build/Camino.app 2. Copy the .nib into your tree and touch it. 3. Add the new class to the xcode project.
Attachment #166997 - Flags: review?(joshmoz)
but this also happens on 082
Yes it happens in all version of Camino on Panther, and from what I heard also in 10.2 but I can't check.
line draws fine on 10.2 (in 082 candidates). we only need this for panther.
Comment on attachment 166997 [details] adds the dark line to the top of the status bar yuck. there's a gap between the scrollbar and the line. don't bother reviewing this.
Attachment #166997 - Flags: review?(joshmoz)
Attachment #166997 - Attachment is obsolete: true
this is a minor bug, not an enhancement as far as I can tell
Severity: enhancement → minor
Attached file stab v1.0
I'm not requesting review on purpose because I haven't nicely packaged this fix and I'm not sure I want the code in separate files. Anyway, just make the status bar NSView an instance of the subclass I wrote and the black line should appear (add the new class files to Xcode, blah blah blah). If Geoff likes this fix I'll package it up nicely and request review.
Comment on attachment 176522 [details] stab v1.0 I think "stab v1.0" is actually the right thing to do. We should probably have the status bar draw its own separator if for no other reason than that it makes hiding the status bar in the future easier.
Attachment #176522 - Flags: superreview?(sfraser_bugs)
Attachment #176522 - Flags: review?(me)
For new files, 'cvs add' them (which is a local operation only), then cvs diff -N.
Comment on attachment 176522 [details] stab v1.0 You need to specify a color.
Attachment #176522 - Flags: superreview?(sfraser_bugs) → superreview-
Attachment #176522 - Flags: superreview-
Comment on attachment 176522 [details] stab v1.0 arg - cancelled the wrong review
Attachment #176522 - Flags: review?(me) → superreview-
i landed a rewrite of what josh was doing as part of 1.0 (it needed work). it needs testing on 10.2 before i mark it fixed, ill try it on my 10.2 box on monday and then mark it so then.
Status: NEW → ASSIGNED
Yeeeehaa, Mike finally nailed this prehistoric anoying my ass off bug. Thank you so much. Hey and it even works on 10.2 :)
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: