Tree widget doesn't work on Qt

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
16 years ago
4 years ago

People

(Reporter: kairo, Assigned: opi)

Tracking

Other Branch
x86
Linux

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 years ago
The <tree> widgets in XUL UI are not really functional in Qt port. If you open
e.g. bookmarks window or sidebar, and want to expand/collapse a bookmarks
folder, it doesn't react in any way, not even if you "force" a repaint by
switching desktops. Ah, well, single click seemingly doesn't work, but I saw now
that double click on tree item does something... It actually performs the
double-click on an item thre lines or so above the one that I really did click
upon. Hmm, OK, single click does work in a way that it seems to also fire on the
item around three items above the one I clicked upon, it seems to respect the
horizontal position though (seen in manage bookmarks at least, it seems
bookmarks sidebar always does expand/collaps on a single click anywhere on the
item).

Hmm, I hope I've given you a clue...
(Assignee)

Comment 1

16 years ago
I've seen the problem. Is such a tree somewhere else as in the Properties? Will
take the bug, may be a positioning problem. Does it works with key handling?
Assignee: timeless → opi
Blocks: 79120
(Reporter)

Comment 2

16 years ago
It's much better after applying the fix of bug 197737, though there seems some
issues left. I can't investigate all though because of our bad paint problems
currently.

Those are a few lines I get when opening the bookmarks manager and playing
around a bit, then closing again:


###!!! ASSERTION: Attempt to decrement focus controller's suppression when no
suppression active!
: 'PR_FALSE', file
/home/robert/temp/mozilla/qt-src/mozilla/dom/src/base/nsFocusController.cpp,
line 464
Break: at file
/home/robert/temp/mozilla/qt-src/mozilla/dom/src/base/nsFocusController.cpp,
line 464
Show. bState=false, mWidget=0x8a72d50
Show. bState=true, mWidget=0x823ab80
Show. bState=true, mWidget=0x8a72d50
Show. bState=false, mWidget=0x8a72d50
Show. bState=false, mWidget=0x898c2b0
Enter nsQApplication::GetMasterWidget
Exit nsQApplication::GetMasterWidget
WARNING: NS_ENSURE_TRUE(mDocument) failed, file
/home/robert/temp/mozilla/qt-src/mozilla/content/base/src/nsDocumentViewer.cpp,
line 1171
Enter nsQApplication::GetMasterWidget
Exit nsQApplication::GetMasterWidget
Enter nsQApplication::GetMasterWidget
Exit nsQApplication::GetMasterWidget
WEBSHELL- = 5
Show. bState=false, mWidget=0x87eaf38
Show. bState=true, mWidget=0x8a75fc8
Show. bState=true, mWidget=0x87eaf38
Show. bState=false, mWidget=0x87eaf38
JavaScript error:
 line 0: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIAppShellService.quit]"  nsresult: "0x80004005
(NS_ERROR_FAILURE)"  location: "JS frame ::
chrome://global/content/globalOverlay.js :: goQuitApplication :: line 40"  data: no]

Show. bState=false, mWidget=0x8251ad0
Enter nsQApplication::GetMasterWidget
Exit nsQApplication::GetMasterWidget
WARNING: NS_ENSURE_TRUE(mDocument) failed, file
/home/robert/temp/mozilla/qt-src/mozilla/content/base/src/nsDocumentViewer.cpp,
line 1171
QA Contact: cbiesinger → ports-qt
Product: Core → Core Graveyard
This bug has been buried in the graveyard and has not been updated in over 5 years. It is probably safe to assume that it will never be fixed, so resolving as WONTFIX.

[Mass-change filter: graveyard-wontfix-2014-09-24]
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.