This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 33752 - Would like a pretty-print option
Summary: Would like a pretty-print option
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Tasklist (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P3 blocker (vote)
Assignee: tasklist-issues@contrib
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-20 00:36 UTC by _ gordonp
Modified: 2003-07-17 06:18 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gordonp 2003-05-20 00:36:02 UTC
I see no easy way to print my tasklist. Even a Copy
operation grabbed more information than desirable
so thats not a good way to print.

The tasklist.ics file it text and I could filter it
with a perl script, but the module should have some
way of doing this for me.
Comment 1 _ serff 2003-05-20 00:38:46 UTC
would exporting your tasklist to HTML be pretty enough for you?  You
can already do that...
Comment 2 _ gordonp 2003-05-20 01:08:18 UTC
Sure. How do I do that?
Comment 3 _ serff 2003-05-20 01:24:52 UTC
I'm going off a little older version here, so someone might need to
corect me here, but you should just be able to right click on the task
list, then go to Export -> HTML.  
Comment 4 Torbjorn Norbye 2003-05-20 05:13:32 UTC
That's correct - Export to HTML is available from any tasklist
(suggestions, usertasks, bugs) context menu. Additional export filters
can be plugged in if you want to pretty-print to some other format,
like PDF or ASCII (I would like ASCII myself, but on the other hand,
mozilla does a fine job converting html to ascii - the nice thing
about having it supported directly is it could be automated - see my
dev@tasklist proposal the other week about marking tasklist for
auto-export, where a .html file is kept synchronized with the .ics file.

Does Export fit your needs? Can I close this request or do you have
some suggestion for how to change the UI to make it more intuitive
without making it more cluttered?
Comment 5 _ gordonp 2003-05-20 14:18:45 UTC
I tried right clicking but wasn't over a current
task and the context menu didn't have an export.
I did it again and exported html.

It doesn't seem like this action should be dependent
on the mouse being over a specific task. Also, when
asked if I wanted to view the html it tried to start
a new netscape rather than use my existing one. Is
this something you have control over or is this a
``feature'' of the extbrowser module?

One further note, when I viewed the html it had not
been saved with the current sort order of my task
list. So I'll still need to edit the html to print
the exact tasklist I was viewing.
Comment 6 Torbjorn Norbye 2003-07-17 06:17:29 UTC
There are two export formats: Konqueror, and "Visible Columns". You
must have selected the first one (Konqueror).  The second format
attempts to export exactly what you're seeing on the screen: the same
task attributes (e.g. those columns you've made visible), the same
sort order. It even offers to export the icons (this is more useful
when you export the Suggestions View for a large directory scan than
for the user task view).

I've made two fixes:
- Added "Export" to the context menu which is shown when you don't
click on a task
- Made "HTML (visible columns)" the first entry in the Export submenu
for user tasks, such that it's more likely to be chosen than the
Konqueror format.

And yes, the Netscape behavior is a limitation of the extbrowser
module I think. I hope there's an issue tracking that. I've recently
switched my extbrowser preference over to the "Command Line" browser,
which invokes openmoz - it integrates well with mozilla - I have it
set up to open a new tab instead of a new window.
Comment 7 Torbjorn Norbye 2003-07-17 06:18:06 UTC
By the way, this was fixed in version 1.5 of the tasklist/usertasks
module; both in the trunk (for NB 4.0) and the dev35 branch (for NB 3.5).