Oracle SQL Developer 中的屏幕重绘错误
我在使用 Oracle SQL Developer 时遇到问题。当我在 Windows Server 2003 机器上使用它时,它工作正常。当我在 Windows 7 桌面上使用它时,当我水平或垂直滚动时,我在查询结果网格中遇到很多重绘问题,如下所示:
编辑:ImageShack 是我的屏幕截图的原始图像主机,它不再是有效的 URL。由于我的问题现已解决,因此我无法重现此问题。要点是结果网格的客户区域在滚动期间被重新绘制为乱码。
这使得评估查询结果变得困难。单击标题和单个单元格会使其正确重绘,但无法正常滚动是很愚蠢的。有什么办法可以解决这个问题吗?我正在使用当前版本的 SQL Developer 1.5.5 以及附带的 JVM。
I have a problem with Oracle SQL Developer. When I use it on a Windows Server 2003 machine, it works fine. When I use it on my Windows 7 desktop, I get a lot of redraw problems in the query results grid when I scroll either horizontally or vertically, like so:
Edit: ImageShack was the original image host for my screenshot, and it's no longer a valid url. Since my problem is fixed now, I can't repro this. The gist is that the client area of the result grids was repainted as gibberish during scrolling.
This makes it tricky to assess the results of your queries. Clicking on the header and on individual cells causes it to then redraw properly, but it's goofy to not be able to just scroll normally. Is there any way to fix this? I am using the current version of SQL Developer 1.5.5 with the included JVM.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
当我单击“工具”时,我什至看不到下拉列表。这就是我所做的。
这解决了我的问题。
让这些愚蠢的问题见鬼去吧。
I couldn't even see the dropdown list when I clicked Tools. Here's what I did.
That solved my problem.
To hell with these kinds of stupid problems.
您需要关闭 DirectDraw - 请参阅 http://tiredblogger.wordpress.com/2009/05/29/configuring-oracle-sql-developer-for-windows-7/,特别是他们将以下内容添加到 sqldeveloper.conf 的部分:
You need to turn off DirectDraw -- see http://tiredblogger.wordpress.com/2009/05/29/configuring-oracle-sql-developer-for-windows-7/, specifically the bit where they add the following to sqldeveloper.conf:
我终于解决了这个问题:
转到 \sqldeveloper\bin\sqldeveloper.conf 并添加此行:
问题是用户语言(西班牙语不起作用)
I finally solved the problem:
Go to \sqldeveloper\bin\sqldeveloper.conf and add this line:
The problem was de user language (in spanish do not works)
经过在 Windows 10 中的多次尝试,我终于解决了这个问题。Oracle 应该不用技巧就能解决这个问题...
我做了什么:
下载最新的 sqldeveloper 4.1.5 并捆绑了 JDK。
运行 sqldeveloper 并导入以前安装的设置。
关闭sqldeveloper,然后进入USER\AppData\Roaming\sqldeveloper删除旧版本的config文件夹。
修改文件\sqldeveloper\sqldeveloper\bin
将此选项值更改为true
AddVMOption -Dsun.java2d.ddoffscreen=true
注释行:
#AddVMOption -Dsun.locale.formatasdefault=true
在最后的 IncludeConfFile 语句之前添加此选项:
AddVMOption -Dsun.awt.keepWorkingSetOnMinimize=true
AddVMOption -Dsun.java2d.noddraw=true
最后总是用 sqldeveloper\sqldeveloper\binsqldeveloper64W.exe 启动 sqldeveloper
并更改sqldeveloper 主题为“windows 风格”。
I finally solved the problem after many tries in windows 10. Oracle should fix this without tricks...
What I did:
Download lastest sqldeveloper 4.1.5 with JDK bundled.
Run sqldeveloper and import settings from previous install.
Close sqldeveloper, and go to USER\AppData\Roaming\sqldeveloper erasing config folders of older versions.
Modify file \sqldeveloper\sqldeveloper\bin
Change this option value to true
AddVMOption -Dsun.java2d.ddoffscreen=true
Comment line:
#AddVMOption -Dsun.locale.formatasdefault=true
Add this options before IncludeConfFile sentence at then end:
AddVMOption -Dsun.awt.keepWorkingSetOnMinimize=true
AddVMOption -Dsun.java2d.noddraw=true
And finally always start sqldeveloper with sqldeveloper\sqldeveloper\binsqldeveloper64W.exe
And change sqldeveloper theme to "windows style".
这个问题在2015年仍然重现,我使用的是W7,jdk版本1.8.0_40-b25和sqldeveloper版本4.1.0.18。
我遇到了同样的问题,似乎没有任何帮助,甚至没有威廉·罗斯的回答,直到我绝望地把
AddVMOption
来自他在我的sqldeveloper.conf
文件最后一行的回答,瞧!它起作用了。如果你把它放在乞求的位置,这个选项似乎会以某种方式被遮蔽。只是想添加一点信息,但由于缺乏声誉,我还无法发表评论。
This problem still reproduces in 2015, I'm using W7, jdk version 1.8.0_40-b25 and sqldeveloper version Version 4.1.0.18.
I had the same problem and nothing seems to help, not even William Rose's answer, until, in my desperation, I put the
AddVMOption
from his answer in the last line of mysqldeveloper.conf
file and Voila! It worked. It seems that somehow the option is shadowed if you put it at the begging.Just wanting to add this bit of information, but I can't comment yet due to lack of reputation.
我在 vista 和 win 7 上遇到了同样的问题。
在第一次启动时,sql开发人员会询问您java jdk的路径:给它我从上面安装jdk 32位的路径,它现在运行良好!
即使没有从航空设计切换到基本的窗户设计,也没有重绘问题。
希望这也对你有帮助......
i had the same problem with vista and win 7.
on first start sql developer asks you for the path to java jdk: given it the path that i installed the jdk 32bit from above and it now runs fine!
even without switching from aero to basic windows design and without redrawing-problems.
hope this helps you too...
只需安装旧版本 Oracle SQL Developer 3.2.2 (3.2.20.09.87) 和 jdk-6u35-windows-x64。
这就是我解决问题的方法。
Just install old version Oracle SQL Developer 3.2.2 (3.2.20.09.87) and jdk-6u35-windows-x64.
That's how I solved the problem.
我在解决
添加或替换以下配置文件的属性后执行了此步骤。
土耳其开发者可以查看这个网站
I made this step after solved
Add or replace the attribute of the following config file.
Turkish developer can see this site
删除或注释掉 sqldeveloper.conf 中的以下行:
Remove or comment out the line below in sqldeveloper.conf: