Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | New (.uno:AddDirect) button of standard toolbar not working well on Basic IDE | ||
---|---|---|---|
Product: | General | Reporter: | hanya <hanya.runo> |
Component: | ui | Assignee: | Ariel Constenla-Haile <arielch> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | Normal | ||
Priority: | P3 | CC: | arielch, issues |
Version: | 4.0.0-dev | ||
Target Milestone: | 4.0.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
hanya
2013-05-28 20:10:08 UTC
I've got a fix for that forgot to commit (note to myself: cherry-picking from a git clone seems error prone when no using stgit, nor git-svn). IIRC something happens, the private URL from basic is dispatched, what of course does nothing. "arielch" committed SVN revision 1487142 into trunk: i122401 - framework::NewToolbarController needs early initialization of its P... The main reason was that the algorithms relay on the PopupMenu filled at initialization. The default behaviour of framework::PopupMenuToolbarController is the later initialization of the PopupMenuController, only when the drop-down button is pressed. If early initialization is needed, the derived class has to override initialize(). @hanya please check with revision 1487142 There shouldn't be any new bugs, as the code is mainly copy&paste from the old implementation. Looking at my notes back then, the old implementation had issues with the Writer based URL containing slots in the query part, as in private:factory/swriter?slot=21051 private:factory/swriter?slot=21052 private:factory/swriter?slot=21053 it dispatched the URL without the query part. Feel free to open a new bug for this. |