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 180610

Summary: Image preview in the navigator
Product: utilities Reporter: Petr Dvorak <joshis>
Component: ImageAssignee: Jan Peska <JPESKA>
Status: RESOLVED FIXED    
Severity: normal CC: shunbul
Priority: P2 Keywords: NETFIX
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Patch for "images" module
Screenshot

Description Petr Dvorak 2010-02-11 06:58:46 UTC
Created attachment 94081 [details]
Patch for "images" module

Product Version: NetBeans IDE 6.8 (Build 200912041610)
Java: 1.6.0_15; Java HotSpot(TM) 64-Bit Server VM 14.1-b02
System: Linux version 2.6.31-20-generic running on amd64; UTF-8; en_US (nb)

Hi, I am very new to NetBeans. Good work, nice IDE! Sorry for my English... (Just messing with you, you rascals...)

It would be nice to see a preview of a picture in the navigator view when some image fileobject is selected. It is especially handy for PHP (you work with images a lot there) but it is not PHP specific.

Patch attached.
Comment 1 Petr Dvorak 2010-02-11 06:59:24 UTC
Created attachment 94082 [details]
Screenshot
Comment 2 Petr Dvorak 2010-02-11 07:01:06 UTC
note: If the image is smaller than the navigator, there is no problem, if it is bigger, it is scaled to 90% of the size. Image is centered in navigator.
Comment 3 Petr Dvorak 2010-02-11 09:40:05 UTC
If you want, I can do some minor enhancements and I can improve the patch to also solve issue: Viewing the size of a GIF/JPEG image in the image (https://netbeans.org/bugzilla/show_bug.cgi?id=168562)
Comment 4 Jan Peska 2011-09-05 07:11:22 UTC
*** Bug 200251 has been marked as a duplicate of this bug. ***
Comment 5 Jan Peska 2011-09-05 14:13:38 UTC
Thanks a lot for your contribution. I am going to integrate your patch (with few small changes) into the next version.

(In reply to comment #3)
> If you want, I can do some minor enhancements and I can improve the patch to
> also solve issue: Viewing the size of a GIF/JPEG image in the image
> (https://netbeans.org/bugzilla/show_bug.cgi?id=168562)

All your patches for this issue or another are welcomed.
Comment 6 Jan Peska 2011-11-21 10:55:22 UTC
fix: http://hg.netbeans.org/core-main/rev/449253c9a7bb
Comment 7 Quality Engineering 2011-11-22 15:52:03 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/449253c9a7bb
User: Jan Peska <jpeska@netbeans.org>
Log: Issue #180610 - Image preview in the navigator
When image node is selected the thumbnail is shown in Navigator window
Comment 8 Veraxus 2012-01-12 16:58:55 UTC
This fix doesn't appear to have made it into the 7.1 release, though it was working great in the nightly builds. Any chance this will get patched into the official 7.1 release?
Comment 9 Jan Peska 2012-01-13 13:22:54 UTC
Unfortunately this feature has been integrated after 7.1 feature freeze so it wont be a part of 7.1 official release, so I'm afraid that only way is to use Dev build.