Eclipse toolbar middle alignment (GTK related) - eclipse

Installed fresh installation of Eclipse on centos.
After restarting suddenly all buttons are aligned middle instead of left.
Where is the setting to change that?
Eclipse version 4.16.0
Build id 20200615-1200
Edit: seem to be a GTK problem, I managed to find those settings in gtk inspector using ctrl+shift+D and change the toolbar elements to GTK_ALIGN_START, and that fixes it.
But no idea why it's like that to begin with? All my other apps works, and all use GTK_ALIGN_FILL, only eclipse is like that.
Also new eclipse installation doesn't help.
Any way to change all gtk aligns for a program and save?

Related

Netbeans 8.2 wont apply themes

For some reason, Netbeans IDE 8.2 won't apply any different themes than the original one. Has anyone else had an issue with this? I have applied the new theme and restarted the application many times without success. Thank you.
It's very hard to identify what is wrong since everything in your screenshot looks perfect, and Sublime-Theme works for me using NetBeans 8.2 on Windows 10. See the file with the tab NewServlet.java in the screen shot below.
Note that using Sublime-Theme does not impact everything. For example, the Projects and Navigator panels don't change. Since your screen shot only showed the Options window, and the Start Page doesn't change in the editor either, are you absolutely certain that none of your files in the editor are using Sublime-Theme?
Also, you say that "Netbeans IDE 8.2 won't apply any different themes than the original one", but NetBeans comes bundled with several themes, such as NetBeans and NetBeans 5.5 as shown in the screen shot below. How many options are shown in the profile drop list for you? If you select a different theme from the Profile list and click Apply the rendering of your files in the editor should change immediately. Is that happening?
If so, the problem is probably confined to the installation of Sublime-Theme. Try deleting Sublime-Theme (the button is in the top right corner of your screen shot), and then import the zip file again to see if that fixes the problem. Also, verify that the Sublime-Theme zip file you downloaded can be manually unzipped since it might be a corrupt file.
Another thing to try is using some alternative plugins. Select Tools -> Plugins -> Available Plugins and then install Dark Look and Feel Themes and Darcula LAF for NetBeans. If those don't work either then there is something fundamentally wrong with the installation of NetBeans.
Finally, this article titled The complete guide to tuning the appearance of NetBeans may be helpful.

Eclipse: workspace is completely invisible

Something quite strange has happened: The whole Eclipse main window disappeared while I was debugging a Play Framework project. The Eclipse symbol in the applications bar still shows up as usual (from where I still can force Eclipse to quit).
My System (Ubuntu 14.04.) still behaves as if Eclipse was there, e. g. other applications get unfocused when choosing Eclipse in the applications bar. Meanwhile I have re-started Eclipse (that didn't help) and even re-started Ubuntu (still the same behaviour).
When I start Eclipse the workspace selection window shows regularly up. If I select another workspace, it also shows up regularly (I have created a second one to test that). Eclipse even still reacts properly on any shortcut as well as well as F10 & F11. It seems like the Eclipse main application window was "transparent". Therefore I assume that it is a problem of Eclipse resp. its workspace rather than an Ubuntu problem.
Does anybody have an idea where to maybe re-configure the workspace? Or is there even a secret function for all that?
Thanks a lot!!
Meanwhile I was able to re-get the window: I clicked on a shadow effect that sometimes showed up. I resized that shadow with my mouse. As an effect the Eclipse window top bar (the one above the menu) showed up again. Afterwards I could "pull out" the window from the bar - and there it all was again... But I have still no idea, how that happened - and what might be the solution if someone runs into that issue without having a shadow.

How to display editor tabs on the side of the editor pane in Eclipse?

In Eclipse Indigo (I'm on 3.7.2), is it possible to move the editor tabs from the top of the editor pane to the side of the editor pane, creating a vertical stack of tabs? This would allow many more tabs to be seen at once. Given my widescreen display and the large number of active files I am switching between this would be a useful configuration. I cannot find a setting or a plugin that will do so.
Not possible yet. See here and here
I got fed up with not being able to do this and wrote an eclipse plugin. You can find it in the marketplace at: https://marketplace.eclipse.org/content/open-editors
Here is a screenshot
I do not know of a plugin which would allow one to do this.
This (
In Eclipse, can I view the files I currently have open in a vertical stack instead of a horizontal one?) confirms the same unfortunately.
I just searched a bit. I can see a lot of talk about having multi-line tabs, but vertical tabs don't seem to come up a lot.
The Open-Editors plugin has issue
Works well on Windows10 + Eclipse 4.8 + OpenJDK11. 100%
Have just tested. Dont forget to link your Eclipse to JDK-11
https://wiki.eclipse.org/Eclipse.ini
Install Plugin
https://marketplace.eclipse.org/content/open-editors#comment-6750

Why are eclipse views sometimes empty?

I have to use eclipse 3.1. I'm using it in an Ubuntu 11.04 VM (VMWare). It seems that every view I use is initially blank/empty until I close and reopen it. This is annoying but I can deal with it.
The problem is this trick doesn't work with the view for source code files.
Has anyone ever seen a similar issue? Are there any work-arounds?
I don't know if it is related. But the main menu is also initially missing. If I resize the application window, the main menu reappears.
This is a known issue with newer Linux desktops when using older versions of Eclipse.
The GTK widget set changed the default way it renders widgets. This causes versions of Eclipse that were compiled against the old GTK library to experience empty views like you saw as well as problems with ignoring some mouse clicks on buttons.
If you set this environment variable before launching Workbench then it should resolve the problem:
export GDK_NATIVE_WINDOWS=1
I verified this on Ubuntu 11.04 with Workbench 2.6 and the problem went away after I set the variable.
Best regards,
Rob

Anybody experiences problems in contextual menus behavior?

Dear RubyMine Overflowers,
I downloaded the latest version of RubyMine (3.2.1) on a Mac running SL 10.6.8 and latest apple provided Java.
I am experiencing some problematic behavior regarding the mouse right-click.
I can bring up contextual menus only by double right-clicking. if I single right-click, the menu comes up very instantly and disappears.
After some experimentation, I have concluded that if I right-click and manage to keep the mouse pointer at the exact pixel as before r-clicking, contextual menu disappears. If the pixel before right-click is different than the one after r-click the Contextual menu stays. (Imagine the chaos when this applies to the Project window: i get constant warnings of moving files).
Anybody experiencing such funny stuff in RubyMine? or otherwise, any way to change mouse pointer sensitivity?
Many thanks...
Petros
There is similar issue, but it's known to affect only Linux users with Eclipse keymap:
Intellij right click context menu problems in Ubuntu.
I can't reproduce it on Mac, but the question above is worth checking, maybe the suggested workaround will work for you.