Giter Club home page Giter Club logo

swtqt's People

Contributors

jubecker avatar

Watchers

 avatar

swtqt's Issues

eclipse without "-noSplash" parameter crashes

Starting eclipse normally (no -noSplash parameter) will result in a crash with 
the following error message:

!MESSAGE Problems occurred when invoking code from plug-in: 
"org.eclipse.ui.workbench".
!STACK 0
java.lang.IllegalArgumentException: Argument cannot be null
    at org.eclipse.swt.SWT.error(SWT.java:3867)
    at org.eclipse.swt.SWT.error(SWT.java:3801)
    at org.eclipse.swt.SWT.error(SWT.java:3772)
    at org.eclipse.swt.widgets.Widget.error(Widget.java:517)
    at org.eclipse.swt.widgets.Widget.checkParent(Widget.java:359)
    at org.eclipse.swt.widgets.Widget.<init>(Widget.java:160)
    at org.eclipse.swt.widgets.Control.<init>(Control.java:185)
    at org.eclipse.swt.widgets.Scrollable.<init>(Scrollable.java:100)
    at org.eclipse.swt.widgets.Composite.<init>(Composite.java:118)
    at org.eclipse.ui.splash.BasicSplashHandler.getBundleProgressMonitor(BasicSplashHandler.java:159)
    at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1815)
    at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:2112)
    at org.eclipse.ui.internal.Workbench.access$28(Workbench.java:2083)
    at org.eclipse.ui.internal.Workbench$49.run(Workbench.java:1946)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1890)
    at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
    at org.eclipse.ui.application.WorkbenchAdvisor$1.run(WorkbenchAdvisor.java:781)

Original issue reported on code.google.com by [email protected] on 21 Sep 2010 at 11:25

Setting editor font in settings throws a NPE

What steps will reproduce the problem?
1. start eclipse (w. -noSplash of course)
2. go to settings -> appearance -> colors and fonts
3. select a font in Basic -> Text Font
4. press Apply

What is the expected output? What do you see instead?

A NullPointerException occurs. trace :

java.lang.NullPointerException
    at org.eclipse.swt.graphics.Font.equals(Font.java:224)
    at org.eclipse.swt.widgets.TreeItem.setFont(TreeItem.java:1218)
    at org.eclipse.jface.viewers.TreeViewerRow.setFont(TreeViewerRow.java:144)
    at org.eclipse.jface.viewers.ViewerCell.setFont(ViewerCell.java:149)
    at org.eclipse.jface.viewers.WrappedViewerLabelProvider.update(WrappedViewerLabelProvider.java:172)
    at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:145)
    at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:932)
    at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:102)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.runtime.Platform.run(Platform.java:888)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1012)
    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1831)
    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1846)
    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1846)
    at org.eclipse.jface.viewers.AbstractTreeViewer.labelProviderChanged(AbstractTreeViewer.java:2118)
    at org.eclipse.jface.viewers.ContentViewer.handleLabelProviderChanged(ContentViewer.java:193)
    at org.eclipse.jface.viewers.StructuredViewer.handleLabelProviderChanged(StructuredViewer.java:1142)
    at org.eclipse.jface.viewers.ContentViewer$1.labelProviderChanged(ContentViewer.java:97)
    at org.eclipse.jface.viewers.BaseLabelProvider$1.run(BaseLabelProvider.java:74)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.runtime.Platform.run(Platform.java:888)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at org.eclipse.jface.viewers.BaseLabelProvider.fireLabelProviderChanged(BaseLabelProvider.java:72)
    at org.eclipse.ui.internal.themes.ColorsAndFontsPreferencePage$PresentationLabelProvider.clearFontCacheAndUpdate(ColorsAndFontsPreferencePage.java:400)
    at org.eclipse.ui.internal.themes.ColorsAndFontsPreferencePage.updateForDialogFontChange(ColorsAndFontsPreferencePage.java:1433)
    at org.eclipse.ui.internal.themes.ColorsAndFontsPreferencePage.performApply(ColorsAndFontsPreferencePage.java:1195)
    at org.eclipse.jface.preference.PreferencePage$2.widgetSelected(PreferencePage.java:281)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:266)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1033)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1060)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1039)
    at org.eclipse.swt.widgets.Button.clickEvent(Button.java:202)
    at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.trolltech.qt.internal.QSignalEmitterInternal$AbstractSignalInternal.emit_helper(QSignalEmitterInternal.java:368)
    at com.trolltech.qt.QSignalEmitter$Signal0.emit(QSignalEmitter.java:193)
    at com.trolltech.qt.core.QCoreApplication.__qt_processEvents_ProcessEventsFlags_int(Native Method)
    at com.trolltech.qt.core.QCoreApplication.processEvents(QCoreApplication.java:158)
    at org.eclipse.swt.widgets.Display.sleep(Display.java:2813)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211)
    at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1033)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1060)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1043)
    at org.eclipse.swt.widgets.MenuItem.triggerEvent(MenuItem.java:208)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.trolltech.qt.internal.QSignalEmitterInternal$AbstractSignalInternal.emit_helper(QSignalEmitterInternal.java:368)
    at com.trolltech.qt.QSignalEmitter$Signal1.emit(QSignalEmitter.java:209)
    at com.trolltech.qt.core.QCoreApplication.__qt_processEvents_ProcessEventsFlags_int(Native Method)
    at com.trolltech.qt.core.QCoreApplication.processEvents(QCoreApplication.java:158)
    at org.eclipse.swt.widgets.Display.sleep(Display.java:2813)
    at org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(WorkbenchAdvisor.java:364)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2406)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1287)


What version of the product are you using? On what operating system?


java.version=1.6.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product 
org.eclipse.epp.package.jee.product

Please provide any additional information below.

With Qt it looks great! I got my vertical screen real estate back in the 
treeview! woohoo!

Original issue reported on code.google.com by [email protected] on 6 Mar 2011 at 12:00

Project abondoned?

I have just found this project and I think it is very interesting in a sense of 
making a much more compelling experience out of Eclipse. Is there any active 
involvement in this? Maybe by third parties? Any hope to run it in 2012 against 
latest Qt?

Original issue reported on code.google.com by [email protected] on 19 May 2012 at 9:27

Why does GC.getXORMode() always throw an SWTException

The implementation of GC.getXORMode() is still to be done:

    public boolean getXORMode() {
        //TODO
        SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
        //      int rop2 = 0;
        //      rop2 = OS.GetROP2(handle);
        return false; //rop2 == OS.R2_XORPEN;
    }

I got a problem mixing heavyweight with lightweight components (Draw2D) which - 
I guess - relies on this method.

Are there any plans to fix this "TODO" in the near future?

Regards,
Matthias

Original issue reported on code.google.com by [email protected] on 17 Feb 2012 at 10:33

treeview doubleclick expands treenode, instead of opening file in editor

What steps will reproduce the problem?
1. Open a Java project
2. doubleclick a class
3.

What is the expected output? What do you see instead?

I expect he file to open in the editor. Instead it expands the class treenode 
in the treeview

What version of the product are you using? On what operating system?

java.version=1.6.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product 
org.eclipse.epp.package.jee.product

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 6 Mar 2011 at 12:01

question to an expert: Is it possible to open QWidget parented to eclipse mdi area


I want to make one of our libraries(qt based) be available for people to use as 
a plugin in eclipse.

As a first step and a proof of concept.
I have to create a simple qtjambi based plugin for eclipse. Needless to say I 
want this qt_jambi_plugin_view to open inside of eclipse and not be a popup.

I do not have sufficient knowledge to know how to, if possible, to parent 
jambi_QWidget to eclipse mdiarea.

I very much appreciate you help.

One more quick question:
I still have problems having my qt_jambi based plugin open as a popup widget 
when used as a plugin. I am missing dependencies and having problems finding 
the place to specify them in eclipse.

When plugin is loaded I get this warning:
The extensions and extension-points from the bundle "com.trolltech.qt" are 
ignored. The bundle is not marked as singleton.

after i execute it by clicking on a tool button i get the expected result Erorr:
java.lang.NoClassDefFoundError: com/trolltech/qt/gui/QApplication
at plugin_foo.actions.MyAction.....


Here is my MANIFEST.MF any ideas.

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Plugin_foo
Bundle-SymbolicName: plugin_foo; singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: plugin_foo.Activator
Require-Bundle: org.eclipse.ui,
 org.eclipse.core.runtime,
 com.trolltech.qtjambi;bundle-version="1.2.0",
 com.trolltech.qt;bundle-version="1.2.0"
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.6 

Original issue reported on code.google.com by [email protected] on 22 Sep 2010 at 1:06

Intro Screen, Text Editor (Copy-Paste) do not work...

What steps will reproduce the problem?
1. Take Galileo Release
2. start
3.

What is the expected output? What do you see instead?
Complete Welcome Screen. Instead ViewPart layouting is incorrect.
Text Editor does not allow Clipboard usage, not even typing text through 
keyboard.

What version of the product are you using? On what operating system?
Galileo, current releases in download area, Windows 7 x64, 
but: JRE, SWT/Qt, Eclipse Galileo as 32bit Releases

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 29 Dec 2010 at 5:24

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.