Page 1 of 1

UI question of dbeaver 2.0 beta

PostPosted: Wed Oct 24, 2012 7:22 am
by wsc0918
Dears:
I use dbeaver 2.0 beta in winXP 32bit and there exist a dummy height as attach file.
Does some config to close it?
Thank you all~

Re: UI question of dbeaver 2.0 beta

PostPosted: Wed Oct 24, 2012 9:45 am
by Serge
Hello!

Yes, unfortunatelly similar problems may occur sometimes. At the moment I don't know in which conditions, it is hard-to-reproduce issue.
The problem is in new workspace metadata structure of Eclipse 4. New eclipse uses CSS for styling and tries to adapt good-old eclipse UI settings to new style. Sometimes it do it wrong.
Currently the only workaround that I know is to maually remove UI settings from workspace (or to recreate entire workspace).

DBeaver workspace (default one) lives in %USER_HOME%\.dbeaver folder.
You can go into %USER_HOME%\.dbeaver\.metadata\.plugins\ directory and delete org.eclipse.e4.workbench and org.eclipse.ui.workbench folders. Then just restart DBeaver. You will loose all UI settings but at least it should fix the problem.

If it won't help then could you send me (serge@jkiss.org or attach here) archive of .metadata\.plugins folder? I'll try to figure out what is actually wrong with it..

Thanks!

Re: UI question of dbeaver 2.0 beta

PostPosted: Thu Oct 25, 2012 12:35 am
by wsc0918
Thanks for your reply, and the solution you provide doesn't work for my situation.
I attach my dbeaver workspace file as attach.
Thanks for your helping~

Re: UI question of dbeaver 2.0 beta

PostPosted: Thu Oct 25, 2012 9:23 am
by Serge

Re: UI question of dbeaver 2.0 beta

PostPosted: Thu Oct 25, 2012 10:34 am
by Serge
It seems that the original problem is that Eclipse incorrectly determine your OS and sets incorrect default UI theme.

General and easy solution is:
1. In main menu choose File -> Preferences -> Interface -> Appearance
2. Select some Theme (e.g. Classic).
3. Restart DBeaver.

Re: UI question of dbeaver 2.0 beta

PostPosted: Fri Oct 26, 2012 1:07 am
by wsc0918
Yes, it works. Thanks a lot.
I am sorry but has one more question.
Is it possible to change Oracle icon when connection is connected as red icon?
This is dbeaver 2.0 icon:
2012-10-26-085458.png
2.0
2012-10-26-085458.png (509 Bytes) Viewed 17372 times

And I think when connection is connected then display icon as red icon will be more clearly~
This is dbeaver 1.6.3 icon:
2012-10-26-090153.png
1.6.3
2012-10-26-090153.png (350 Bytes) Viewed 17372 times

Re: UI question of dbeaver 2.0 beta

PostPosted: Fri Oct 26, 2012 4:06 pm
by Serge
Glad that it fixed the problem.

Concerning Oracle icon. In latest versions I've made all DB icons in the same style (gray). But probably it wasn't the best one of my ideas ;)
I can change it back if there will be more votes for old style.

Re: UI question of dbeaver 2.0 beta

PostPosted: Mon Oct 29, 2012 12:30 am
by wsc0918
Thanks, never mind of this post.
I can still manual change icon.