Closed
Bug 340195
Opened 19 years ago
Closed 18 years ago
Enable printing in Lightning
Categories
(Calendar :: Lightning Only, defect)
Calendar
Lightning Only
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: jminta, Assigned: mattwillis)
References
Details
(Whiteboard: [ui-review+])
Attachments
(1 file, 1 obsolete file)
8.65 KB,
patch
|
mvl
:
first-review+
|
Details | Diff | Splinter Review |
I started poking around in Lightning to get printing working. Right now we're missing a couple of key ingredients. For starters, we need to unify the view code, so that we have an easy way to get the current view. Then we need to probably unify the selection too. Note that both of these can be worked around with some simple if clauses, but we should really just get more of this code unified and then Do The Right Thing
Assignee | ||
Comment 1•19 years ago
|
||
blocking0.3? Filter bugspam out using maggieIsMyCat
Flags: blocking0.3?(dmose)
Updated•19 years ago
|
Flags: blocking0.3?(dmose) → blocking0.3+
Reporter | ||
Comment 2•18 years ago
|
||
mvl loves printing so much, he gets this review. This patch makes printDialog.js neutral with respect to the app that its used in. That means it can't care about gCalendarWindow or view-deck. To do this, I've added a helper function to get selected items regardless of whether we're in sunbird or lightning.
Comment 3•18 years ago
|
||
Comment on attachment 231120 [details] [diff] [review] make printDialog.js neutral r=mvl
Attachment #231120 -
Flags: first-review?(mvl) → first-review+
Reporter | ||
Comment 4•18 years ago
|
||
We need to figure out the best way to integrate printing into the menubar in thunderbird. The current proposal here is to add it to the Calendar menu, where import/export are. dmose has also suggested tying into the normal Thunderbird print options. Asking for UI-review prior to checkin, to get this sorted out.
Whiteboard: [cal-ui-review needed]
Comment 5•18 years ago
|
||
Thunderbird already has Printing UI in the file menu. Tb + Ltn are intended to behave like a single app, so we should use that. As jminta pointed out, this probably depends on us getting our selection model sorted out.
Whiteboard: [cal-ui-review needed] → ui-review-
Reporter | ||
Updated•18 years ago
|
Whiteboard: ui-review- → [ui-review-][needs ui][swag:.5d]
Comment 6•18 years ago
|
||
(In reply to comment #5) > Thunderbird already has Printing UI in the file menu. Tb + Ltn > are intended to behave like a single app, so we should use that. > As jminta pointed out, this probably depends on us getting our > selection model sorted out. I suggest to just add an additional 'Print Calendar' menu item to the 'File' menu and use the same print dialog as in Sunbird for 0.3 release. This allows to enable and test printing in Lightning 0.3. In future Lightning version - when the selection model is sorted out - we should look for a better integration in the Thunderbirds print model.
Assignee | ||
Comment 7•18 years ago
|
||
(In reply to comment #2) > Created an attachment (id=231120) [edit] > make printDialog.js neutral You'll also need to move radioGroupSelectItem out of applicationUtil.js and into calUtils.js, and remove applicationUtils.js from printDialog.xul.
Comment 8•18 years ago
|
||
I agree with dmose. It shouldn't be its own menu item. The File|Print command can launch a different dialog if it needs to, but printing should still go through File|Print. (In reply to comment #6) > I suggest to just add an additional 'Print Calendar' menu item to the 'File' > menu and use the same print dialog as in Sunbird for 0.3 release.
Assignee | ||
Updated•18 years ago
|
Whiteboard: [ui-review-][needs ui][swag:.5d] → [ui-review-][needs ui][swag:.5d][no l10n impact]
Assignee | ||
Comment 9•18 years ago
|
||
Added entity to lightning.dtd to get it in before string freeze <!ENTITY lightning.toolbar.print.label "Print Calendarβ¦"> uir=dmose, rs=dmose
Whiteboard: [ui-review-][needs ui][swag:.5d][no l10n impact] → [ui-review+][needs patch]
Comment 10•18 years ago
|
||
Nice to have, but in a pinch, we could live without.
Flags: blocking0.3+ → blocking0.3-
Assignee | ||
Comment 11•18 years ago
|
||
This is similar to the patch of jminta's that you've already reviewed. Many of the changes in the original patch made it in as part of the printDialog rework or the select all work. After speaking with dmose, we agreed that we can work to integrate this into Thunderbird's native Print command in a later bug. This also needs a spinoff to clean up uses of radioGroupSelectItem and radioGroupIndexOf to use the versions in calendarUtils.js.
Assignee: jminta → lilmatt
Attachment #231120 -
Attachment is obsolete: true
Attachment #244010 -
Flags: first-review?(mvl)
Assignee | ||
Updated•18 years ago
|
Whiteboard: [ui-review+][needs patch] → [ui-review+]
Comment 12•18 years ago
|
||
Comment on attachment 244010 [details] [diff] [review] adds printing using separate menuitem r=mvl, but make sure you file followup bugs for the better integrated UI.
Attachment #244010 -
Flags: first-review?(mvl) → first-review+
Assignee | ||
Comment 13•18 years ago
|
||
Spinoffs: - bug 358805: radioGroupSelectItem/radioGroupIndexOf cleanup - bug 358803: better printing UI integration Patch landed on MOZILLA_1_8_BRANCH and trunk. -> FIXED
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•