Bug 64961 - LiveJournal Navigation Bar Displays Incorrectly
Summary: LiveJournal Navigation Bar Displays Incorrectly
Status: RESOLVED DUPLICATE of bug 73086
Alias: None
Product: konqueror
Classification: Applications
Component: khtml parsing (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 70182 70756 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-26 06:24 UTC by Josh Berry
Modified: 2007-01-14 20:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Test case from LiveJournal (4.22 KB, text/html)
2004-01-25 11:57 UTC, cb-kde
Details
Test case (863 bytes, text/html)
2004-01-25 18:56 UTC, cb-kde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Berry 2003-09-26 06:24:50 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.2.x 
OS:          Linux

The LiveJournal navigation bar does not display correctly. Here is a screenshot of the incorrect behavior (please be gentle; this is on my home box on a DSL line):

http://www.condordes.net/stuff/kde/konq-lj-css.png

Right below the dark blue bar (with "Welcome", "Login", "Create an Account", etc), there are a number of smaller bars. These are supposed to be hidden, and pop up when you mouse over one of the labels on the top dark blue bar. Instead, they're fixed over the text area...making the first few bits rather difficult to read.

I will try to get you screenshot(s) of the correct behavior, but Mozilla is still compiling, and Konq is my only browser right now.
Comment 1 Josh Berry 2003-10-07 19:58:48 UTC
A screenshot of the correct behavior is at http://www.condordes.net/stuff/kde/
mozilla-lj-css.jpg 
Comment 2 Josh Berry 2003-10-07 20:00:52 UTC
That's odd. It got split into multiple lines... that should be: 
 
http://www.condordes.net/stuff/kde/mozilla-lj-css.jpg 
 
Sorry about that. 
Comment 3 Stephan Kulow 2003-11-01 08:49:58 UTC
in current CVS it's even much worse than on your screenshot. We'd need a test case
though.
Comment 4 Stephan Kulow 2004-01-18 19:49:16 UTC
even your screenshots disappeared
Comment 5 Josh Berry 2004-01-18 22:05:12 UTC
Sorry about that... I reorganized my webpage recently, and moved some stuff around.  Forgot about this link.

I put a screenshot from CVS HEAD as of ~18hrs ago here:

http://www.condordes.net/kde/lj.jpg

If it helps any, I can try to come up with a simplified test case, but I don't know that I'll have much success as my HTML is a bit on the rusty side.
Comment 6 Stephan Kulow 2004-01-19 09:28:56 UTC
please provide a test case. The smaller, the better.
Comment 7 Stephan Kulow 2004-01-19 11:25:20 UTC
*** Bug 70756 has been marked as a duplicate of this bug. ***
Comment 8 Josh Berry 2004-01-20 10:04:42 UTC
I played with it some tonight, but thus far haven't had any luck in locating a failed test case.  I did, however, generate a test case which DOES work (and yet contains all the basic aspects of the LJ code).  That test case is at http://www.condordes.net/kde/64961/testcase-works.html .

I looked at Konqi's debugging output, but it wasn't particularly informative.

Looking at the LJ page itself, I noticed several very specific things:

- Initially, all the submenus are visible.  Normally none of them should be.

- The main menu items are positioned incorrectly, as are the search elements.

- The main content starts at the top of the page, instead of below the header.

- If you move your mouse over the main menu items, the other ones disappear as they are supposed to.  However, the submenus are still positioned incorrectly.

So to me, this looks mainly to be a CSS positioning/visibility problem.  I will try to explore more in this direction later (after I've had a decent amount of sleep ;) ), but I thought I should update now, just to give anyone else who might be working on this some more information.
Comment 9 Stephan Kulow 2004-01-20 20:05:27 UTC
*** Bug 70182 has been marked as a duplicate of this bug. ***
Comment 10 cb-kde 2004-01-25 11:57:31 UTC
Created attachment 4340 [details]
Test case from LiveJournal

This is a test case generated from the original HTML. It still references the
original CSS and JavaScript - these seem to be required to demonstrate the bug.
Comment 11 Stephan Kulow 2004-01-25 13:11:12 UTC
what am I supposed to see in the test case?
Comment 12 cb-kde 2004-01-25 13:49:06 UTC
If you look at the same HTML as rendered by mozilla, it is clear that Konqueror has got it wrong. Under mozilla there is a single line which reads "Welcome Search Help About" and when the mouse is placed over one of those words a menu bar appears in the line below. In konqueror, all items in the menu appear. In the original page this causes the menu to obscure text in other parts of the page.
Comment 13 Stephan Kulow 2004-01-25 14:05:40 UTC
sorry, but then this is no test case, just a stripped down web page. This is the easy part in creating a test case :)
Comment 14 cb-kde 2004-01-25 18:56:20 UTC
Created attachment 4346 [details]
Test case

This is simplified. Note that the word Login appears when rendered in
Konqueror.

The CSS contains the line:
    font-weight: bold;bt

If the "bt" is removed, then the word Login is not rendered, and the rendering
matches mozilla.

Changing this fixes the rendering of LiveJournal, but the menus still don't
work.
Comment 15 Stephan Kulow 2004-01-26 14:36:42 UTC
Now _that_ is an excellent test case. Many thanks
Comment 16 Stephan Kulow 2004-01-26 14:56:22 UTC
Indeed. If one fixes #73086, your page looks fine too  (yes, the patch is not yet in CVS)

*** This bug has been marked as a duplicate of 73086 ***
Comment 17 cb-kde 2004-01-27 09:56:19 UTC
Have you got a patch I can test?
Comment 18 Stephan Kulow 2004-01-27 11:20:36 UTC
http://lists.kde.org/?l=kfm-devel&m=107510779905419&w=2 - you need to call make parser in the css subdir after that
Comment 19 cb-kde 2004-02-03 23:58:59 UTC
That patch works for me.
Comment 20 C 2007-01-14 20:13:21 UTC
The bug this one's duped to is marked WFM, but this bug still occurs for me on a freshly burned Kubuntu 6.10 running from DVD. Konqueror 3.5.5 on KDE 3.5.5. No Konq updates according to Adept...