Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 239802 Details for
Bug 427843
[GTK/Linux] NPE when opening some Form editor on GTK3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
A patch
0001-Bug-427843-NPE-when-opening-some-Form-editor-on-GTK3.patch (text/plain), 1.18 KB, created by
Snjezana Peco
on 2014-02-10 16:12:12 EST
(
hide
)
Description:
A patch
Filename:
MIME Type:
Creator:
Snjezana Peco
Created:
2014-02-10 16:12:12 EST
Size:
1.18 KB
patch
obsolete
>From a33c0595360399ef0c69dfe6a1dec16ccb50712c Mon Sep 17 00:00:00 2001 >From: Snjezana Peco <snjeza.peco@gmail.com> >Date: Mon, 10 Feb 2014 22:09:28 +0100 >Subject: [PATCH] Bug 427843 - NPE when opening some Form editor on GTK3 > >Change-Id: I7779911adb7155569f5d8066c7aa6d7ea0dfc942 >--- > .../src/org/eclipse/ui/internal/forms/widgets/FormHeading.java | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/bundles/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/FormHeading.java b/bundles/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/FormHeading.java >index 4c34b96..d04679f 100644 >--- a/bundles/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/FormHeading.java >+++ b/bundles/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/FormHeading.java >@@ -804,6 +804,9 @@ public class FormHeading extends Canvas { > if (!isSeparatorVisible() && getBackgroundImage() == null) > return; > Rectangle carea = getClientArea(); >+ if (carea.width == 0 || carea.height == 0) { >+ return; >+ } > Image buffer = new Image(getDisplay(), carea.width, carea.height); > buffer.setBackground(getBackground()); > GC igc = new GC(buffer); >-- >1.8.1.msysgit.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 427843
: 239802