Last Comment Bug 677417 - Bring back a way to overlay the right panel in Library window
: Bring back a way to overlay the right panel in Library window
Status: NEW
:
Product: Firefox
Classification: Client Software
Component: Bookmarks & History (show other bugs)
: Trunk
: All All
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
Mentors:
Depends on:
Blocks: 588027
  Show dependency treegraph
 
Reported: 2011-08-08 16:53 PDT by Jeferson Hultmann
Modified: 2011-08-09 15:17 PDT (History)
3 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
screenshot (32.90 KB, image/png)
2011-08-09 15:17 PDT, Jeferson Hultmann
no flags Details

Description Jeferson Hultmann 2011-08-08 16:53:27 PDT
Bug 588027 removed <deck id="contentDeck">. That made impossible to replace the right panel in places.xul (at least without ugly workarounds).

http://hg.mozilla.org/mozilla-central/rev/87ce91536b59#l1.119

As an example, this is the overlay that I'm using in my extension (Firefox 3.6-6.0, broken with Firefox 7):

<deck id="contentDeck">
  <vbox id="my-ext">
    <tree/>
    <hbox>
      <vbox><image/></vbox>
      <description/>
    </hbox>
  </vbox>
</deck>
Comment 1 Jorge Villalobos [:jorgev] 2011-08-09 08:10:59 PDT
Looking at the new DOM structure, the deck is no longer covering all of the area to the right, only the panel at the bottom right. The new deck id is "detailsDeck".

Does your overlay require to replace the Library tree or just the panel on the bottom right? If it's the latter, then you just need to make a few adjustments. If not, then I agree that you need some ugly tricks to make it work, although I'm not sure how it makes sense to replace the whole Library tree given that it is the primary focus of that window.
Comment 2 Jeferson Hultmann 2011-08-09 15:17:27 PDT
Created attachment 551905 [details]
screenshot

My extensions adds an item to the left pane and an entirely new right panel.

Note You need to log in before you can comment on or make changes to this bug.