Bug with Show Whitespace and tab and space characters in SQL comments
If Preferences > Code Editor > Display > Show Whitespace Characters is checked, and I type the following in SQL Worksheet:
--A[tab]B[space]C
It renders with two spaces between B and C. The first one is a blank space without the light dot character used to signify a space character, and the second space is filled with the dot character. The caret is then blinking before the C instead of after it:
--A[tab]B[space][dot][|]C
Further selection actions and editing in the region produce "corrupted" results. I've tried changing fonts, but there was no change to the behavior. Multiple tabs before the B produce multiple blank spaces immediately after it, and when placed at the end of the line the caret is then shown another space to the left of the C:
--A[tab][tab]B[space][space][|][dot]C
If I turn off Show Whitespace Characters the rendering immediately corrects, and caret placement, selection action, and editing behaviors all work as expected.
This is observed on OS X with both the Mac OS X and Oracle/Fusion Blue look and feels.
Ian
About
Oracle SQL Developer 3.0.04
Version 3.0.04
Build MAIN-04.34
Copyright © 2005, 2011 Oracle. All Rights Reserved.
IDE Version: 11.1.1.4.37.59.31
Product ID: oracle.sqldeveloper
Product Version: 11.1.2.04.34
Version
Component Version
========= =======
Java(TM) Platform 1.6.0_24
Oracle IDE 3.0.04.34
Versioning Support 3.0.04.34
Properties
Name Value
==== =====
apple.awt.graphics.UseOpenGL false
apple.awt.graphics.UseQuartz false
apple.laf.useScreenMenuBar true
awt.nativeDoubleBuffering true
awt.toolkit apple.awt.CToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
com.apple.macos.smallTabs true
com.apple.mrj.application.apple.menu.about.name SQL_Developer
com.apple.mrj.application.growbox.intrudes false
file.encoding MacRoman
file.encoding.pkg sun.io
file.separator /
ftp.nonProxyHosts local|*.local|169.254/16|*.169.254/16
gopherProxySet false
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 1309201485440911000
ide.build MAIN-04.34
ide.conf /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
ide.config_pathname /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun true
ide.java.minversion 1.6.0_04
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir /Users/ibrandt/.sqldeveloper
ide.product oracle.sqldeveloper
ide.splash.screen splash.gif
ide.startingcwd "/Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin"
ide.user.dir /Users/ibrandt/.sqldeveloper
ide.user.dir.var IDE_USER_DIR
ide.vcs.noapplications true
ide.work.dir /Users/ibrandt/sqldeveloper
ilog.propagatesPropertyEditors false
java.awt.graphicsenv apple.awt.CGraphicsEnvironment
java.awt.printerjob apple.awt.CPrinterJob
java.class.path ../../ide/lib/ide-boot.jar
java.class.version 50.0
java.endorsed.dirs /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed
java.ext.dirs /Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext
java.home /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
java.io.tmpdir /var/folders/rq/rqQtue9lEpGAwCKh2hL8MU+++TM/-Tmp-/
java.library.path .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.protocol.handler.pkgs oracle.jdevimpl.handler
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_24-b07-334-10M3326
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.util.logging.config.file logging.conf
java.vendor Apple Inc.
java.vendor.url http://www.apple.com/
java.vendor.url.bug http://bugreport.apple.com/
java.version 1.6.0_24
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Apple Inc.
java.vm.version 19.1-b02-334
jdbc.library /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/jdbc/lib/ojdbc6.jar
line.separator \n
log.file.name /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log/datamodeler.log
mrj.build 10M3326
mrj.version 1060.1.6.0_24-334
oracle.home /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.jdbc.mapDateToTimestamp false
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/jlib/orai18n.jar
os.arch x86_64
os.name Mac OS X
os.version 10.6.8
path.separator :
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
socksNonProxyHosts local|*.local|169.254/16|*.169.254/16
sqldev.debug false
sun.arch.data.model 64
sun.awt.exception.handler apple.awt.CToolkit$EventQueueExceptionHandler
sun.boot.class.path ../../rdbms/jlib/ojdi.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:
/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar
sun.boot.library.path /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries
sun.cpu.endian little
sun.cpu.isalist
sun.io.unicode.encoding UnicodeLittle
sun.java.launcher SUN_STANDARD
sun.java2d.ddoffscreen false
sun.jnu.encoding MacRoman
sun.management.compiler HotSpot 64-Bit Server Compiler
sun.os.patch.level unknown
svnkit.sax.useDefault true
user.country US
user.dir /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin
user.home /Users/ibrandt
user.language en
user.name ibrandt
user.timezone America/Los_Angeles
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.4.37.59.31 Loaded
Code Editor oracle.ide.ceditor 11.1.1.4.37.59.31 Loaded
Component Palette oracle.ide.palette1 11.1.1.4.37.59.31 Loaded
Data Miner oracle.dmt.dataminer 11.2.0.1.10.109 Loaded
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.4.37.59.31 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.4.37.59.31 Loaded
Database UI oracle.ide.db 11.1.1.4.37.59.31 Loaded
Diagram Framework oracle.diagram 11.1.1.4.37.59.31 Loaded
Diagram Javadoc Extension oracle.diagram.javadoc 11.1.1.4.37.59.31 Loaded
Diagram Thumbnail oracle.diagram.thumbnail 11.1.1.4.37.59.31 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.4.37.59.31 Loaded
Extended IDE Platform oracle.javacore 11.1.1.4.37.59.31 Loaded
External Tools oracle.ide.externaltools 11.1.1.4.37.59.31 Loaded
File Support oracle.ide.files 11.1.1.4.37.59.31 Loaded
Help System oracle.ide.help 11.1.1.4.37.59.31 Loaded
History Support oracle.jdeveloper.history 11.1.1.4.37.59.31 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.4.37.59.31 Loaded
Index Migrator support oracle.ideimpl.indexing-migrator 11.1.1.4.37.59.31 Loaded
JDeveloper Runner oracle.jdeveloper.runner 11.1.1.4.37.59.31 Loaded
JViews Registration Addin oracle.diagram.registration 11.1.1.4.37.59.31 Loaded
Log Window oracle.ide.log 11.1.1.4.37.59.31 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.4.37.59.31 Loaded
Navigator oracle.ide.navigator 11.1.1.4.37.59.31 Loaded
Object Gallery oracle.ide.gallery 11.1.1.4.37.59.31 Loaded
Oracle IDE oracle.ide 11.1.1.4.37.59.31 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.1.2.04.34 Loaded
Oracle SQL Developer - 3rd Party Database Browsers oracle.sqldeveloper.thirdparty.browsers 11.1.1.04.34 Loaded
Oracle SQL Developer - DBA Navigator oracle.sqldeveloper.dbanavigator 11.1.1.04.34 Loaded
Oracle SQL Developer - Extras oracle.sqldeveloper.extras 1.1.1.04.34 Loaded
Oracle SQL Developer - File Navigator oracle.sqldeveloper.filenavigator 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Antlr3 Translator oracle.sqldeveloper.migration.translation.core_antlr3 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Application Migration oracle.sqldeveloper.migration.application 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Core oracle.sqldeveloper.migration 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations DB2 oracle.sqldeveloper.migration.db2 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations DB2 Translator oracle.sqldeveloper.migration.translation.db2 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Microsoft Access oracle.sqldeveloper.migration.msaccess 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Microsoft SQL Server oracle.sqldeveloper.migration.sqlserver 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations MySQL oracle.sqldeveloper.migration.mysql 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Sybase Adaptive Server oracle.sqldeveloper.migration.sybase 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations T-SQL Translator oracle.sqldeveloper.migration.translation.core 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Teradata oracle.sqldeveloper.migration.teradata 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Translation UI oracle.sqldeveloper.migration.translation.gui 11.1.1.04.34 Loaded
Oracle SQL Developer - Object Viewer oracle.sqldeveloper.oviewer 11.1.1.04.34 Loaded
Oracle SQL Developer - Real Time SQL Monitoring oracle.sqldeveloper.sqlmonitor 11.1.1.04.34 Loaded
Oracle SQL Developer - Reports oracle.sqldeveloper.report 11.1.1.04.34 Loaded
Oracle SQL Developer - Scheduler oracle.sqldeveloper.scheduler 11.1.1.04.34 Loaded
Oracle SQL Developer - Schema Browser oracle.sqldeveloper.schemabrowser 11.1.1.04.34 Loaded
Oracle SQL Developer - SearchBar oracle.sqldeveloper.searchbar 11.1.1.04.34 Loaded
Oracle SQL Developer - Snippet oracle.sqldeveloper.snippet 11.1.1.04.34 Loaded
Oracle SQL Developer - Spatial oracle.sqldeveloper.spatial 11.1.1.04.34 Loaded
Oracle SQL Developer - TimesTen oracle.sqldeveloper.timesten 2.0.0.04.34 Loaded
Oracle SQL Developer - Tuning oracle.sqldeveloper.tuning 11.1.1.04.34 Loaded
Oracle SQL Developer - Unit Test oracle.sqldeveloper.unit_test 11.1.1.04.34 Loaded
Oracle SQL Developer - User Extensions Support oracle.sqldeveloper.userextensions 11.1.1.04.34 Loaded
Oracle SQL Developer - Worksheet v2 oracle.sqldeveloper.worksheet 11.1.1.04.34 Loaded
Oracle SQL Developer - XML Schema oracle.sqldeveloper.xmlschema 11.1.1.04.34 Loaded
Oracle SQL Developer Data Modeler oracle.datamodeler 3.0.0.665.2 Loaded
Oracle SQL Developer Data Modeler - Reports oracle.sqldeveloper.datamodeler_reports 11.1.1.04.34 Loaded
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.4.37.59.31 Loaded
Peek oracle.ide.peek 11.1.1.4.37.59.31 Loaded
Persistent Storage oracle.ide.persistence 11.1.1.4.37.59.31 Loaded
Property Inspector oracle.ide.inspector 11.1.1.4.37.59.31 Loaded
QuickDiff oracle.ide.quickdiff 11.1.1.4.37.59.31 Loaded
Replace With oracle.ide.replace 11.1.1.4.37.59.31 Loaded
Runner oracle.ide.runner 11.1.1.4.37.59.31 Loaded
VHV oracle.ide.vhv 11.1.1.4.37.59.31 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.4.37.59.31 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.4.37.59.31 Loaded
Virtual File System oracle.ide.vfs 11.1.1.4.37.59.31 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.4.37.59.31 Loaded
XML Editing Framework IDE Extension oracle.ide.xmlef 11.1.1.4.37.59.31 Loaded
audit oracle.ide.audit 11.1.1.4.37.59.31 Loaded
classpath: protocol handler extension oracle.jdeveloper.classpath 11.1.1.0.0 Loaded
jdukshare oracle.bm.jdukshare 11.1.1.4.37.59.31 Loaded
mof-xmi oracle.mof.xmi 11.1.1.4.37.59.31 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.4.37.59.31 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.4.37.59.31 Loaded
palette2 oracle.ide.palette2 11.1.1.4.37.59.31 Loaded
status oracle.ide.status 11.1.1.4.37.59.31 Loaded
are you using an "Expert Mode" query or not?
With normal mode, the query is stored in an XML attribute.
With expert mode, it's stored in a CDATA Section, which allows it to respect all user-spacing and newlines.
XML attribute values are forced by the XML 1.0 spec to be normalized, and this is done by the parser when they are read in. That might account for your different in space treatment.
Similar Messages
-
When I open a new tab, the new tab used to show shots of 6 or so of the last sites I'd viewed, so I could easily click on one and go to it. Now it shows a blank tab and I have to type the URL of the page I want. How can I change it back?
Did you have the Google Toolbar installed?
* http://www.google.com/support/toolbar/bin/answer.py?answer=115561 Web-browsing tools : Google new tab page and most visited websites
Other extension that have a similar feature:
*Speed Dial: https://addons.mozilla.org/firefox/addon/4810
*Fast Dial: https://addons.mozilla.org/firefox/addon/5721 -
I have a JFrame with a JTabbedPane inside of it. Inside of each tab I put a JPanel with a JTextArea in it. When I create a new tab, I do something like textArea.requestFocusInWindow();
However, this will not work unless I do a frame.pack() right after I created the new tab and right before that line of code.
This in turn causes another problem. If I resize the jframe and then create a new tab, the window will snap back to the size it had before creating the tab. I assume this has to do with the pack() function, however nothing else I try will make the cursor blink in the JTextArea.
Is there a solution to this...either something to make the cursor blink or something other than the pack function to update the JFrame?
Thank youThis posting should help you out:
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=581478 -
I think ever since we moved to v33, I've been having an irritating issue that whenever I open a new tab that isn't connected to a website yet and try to enter a website address, it won't connect to ANY website. Doesn't matter if I hit Enter to try to make it go, doesn't matter if I click the right-pointing arrow button to make it go, doesn't work. I can go into a tab already connected to a website, type in a new website there and it'll create a new tab and take me to the new website, but not if I use new tab button.
Anyone else had this issue? Any fixes?Sorry, that didn't help as I'm able to connect to websites, just not in a particular way.
For instance, I am able to type in and connect to websites IF the tab is already in use with a website (i.e. if I were to type "yahoo.com" in the address bar of this tab FF would open a new tab and take me to yahoo.com) but not when it is a completely new tab. -
Using Firefox 25.0.1 on Windows 7 Home Premium
I've poured through support forums for Mozilla Firefox searching for a fix to my initial problem of the "Warn when closing multiple tabs" pop up not popping up when I have it selected.
Went through About:Config, making sure warnings for tabs und closing, und showing on quit, und quitting, etc. were all set to true, which were "possible" fixes for the issue I was having, there are like five or six things set to true for warnings/quitting/etc. No avail. They are all set to true.
Then I stumbled across one that suggested a conflict with the "Warn When Closing Multiple Tabs" und the "Show Windows und Tabs from last time".
I use both features. However, I found if I want the warning pop up for closing multiple tabs, I have to have "show homepage" or "show blank page" selected instead of "Show windows und tabs from last time" selected. (Tools>Options>General>Start Up>When Firefox Starts:) The problem with this is, yes, I get my warning pop up, BUT, I don't get my tabs from my last session.
The warning in settings (Tools>Options>Tabs>Warn Me When Closing Multiple Tabs) is checked.
To have my tabs restored from last session, I simply select it for "when firefox starts". Bam, I have my tabs that were open from the last time I quit. Und again, full circle, I don't have my warning pop up.
There were also suggestions of the warning on close for tabs is conflicting with add-ons.
However, I don't have many. Und I have yet to test them to see if they interfere. These are according to my Add Ons tab when I check it myself.
Extensions:
1. Avast WebRep (disabled)
2. HP Smart Web Printing (disabled)
Plugins:
1. Adobe Acrobat
2. Google Update
3. iTunes Application Detector
4. Java (TM) Platform SE 7 U45
5. Shockwave Flash
6. Shockwave For Director
7. Silverlight Plug-In
8. VLC Web Plugin
9. Windows Live Photo Gallery
10. Java Deployment Toolkit (disabled)
Note: The Details Firefox provides says I have these for Plugins
* Shockwave Flash 11.9 r900
* Adobe Shockwave for Director Netscape plug-in, version 12.0.5.146
* Next Generation Java Plug-in 10.45.2 for Mozilla browsers
* Google Update
* Adobe PDF Plug-In For Firefox and Netscape 11.0.05
* VLC media player Web Plugin 2.1.0
* 5.1.20913.0
* iTunes Detector Plug-in
* NPWLPG
Unsure of what the "5.1.20913.0" und the "NPWLPG" plugins are, but they don't appear to me under Add Ons.
Und as usual, I'm assuming the solution lies within About:Config, I will show here now what I have set to True.
browser.tabs.warnOnClose - True
browser.tabs.warnOnCloseOtherTabs - True
browser.tabs.warnOnOpen - True
browser.warnOnQuit - True
browser.showQuitWarning - True
As aforementioned:
The seemingly only issue is the conflict between Show Windows/Tabs From Last Time und the Warn On Quit pop up. Und again, I need/want both of them. More so the tabs from the last session, but I really really really really really want the warning.
So, if anyone knows a work around, preferably without having to download anything to fix this, I would be extremely grateful.You mention a second subject.
''I'm probably going to downgrade to another version of firefox that was suggested to me since I'm also having issues with shockwave flash causing firefox to hang und ultimately needs to be force closed otherwise having to have flash disabled to use firefox.''
<u>Downgrading Firefox </u><br />
Flash is notorious for causing Firefox problems. I suggest you start a new thread about that. If at all possible you should try to avoid downgrading to an unsecure & unsupported version of Firefox. it will increase risks to your system and Personal data. (There are methods of mitigating the risks, using a virtual machine or operating within a secure intranet for instance)
*(Do Not) [[Install an older version of Firefox]]
<u>Try Flash with Protected Mode Off</u><br/>
Worth a try as it takes minimal effort & often solves Flash Problems whilst allowing current and more secure FlashPlayer to be used. See
* http://kb.mozillazine.org/Flash#Flash_Player_11.3_Protected_Mode_-_Windows
* http://forums.adobe.com/thread/1018071#TemporaryWorkaround
If you wish to pursue these subjects further I note you have already started a thread you may as well continue the discussion in that thread, but also post back here so we can follow both.
* ''Firefox is having "Script" issues (Not Responding) und possibly Flash issues?'' [/questions/978181]
** try ensuring you close down Firefox using the menu, that may even help with Flash problems.
<u>Your experience in submitting troubleshooting information on the forum</u><br />
(This is out of curiosity, but with the intention of pressing for changes if forum faults are discovered.)
There are yet more changes to this forum underway. Mozilla recently tried to improve the experience for first time users of the forum and a troubleshooting app option was included in the workflow to try to encourage users to submit full troubleshooting information.
I would be interested to know what you thought
I sometimes wonder if users are not trying to use that, or whether forum users run into problems in using it. At one point I wondered whether there was a problem if too much data was included but never actually proved that conjecture.
Assuming you are using the forum, and not merely replying by email look towards the top in the right hand margin for clickable buttons
* Question Details -V- More System Details -> [Additional System Details]
You will note that includes only partial information. There are no changed prefs or extensions listed. Compare for instance the information in this thread [/questions/978130] with full information.
I believe your mystery plugins are Windows related
* NPWLPG relates usually to Windows Live Photo Gallery
* 5.1.20913.0 will be Silverlight -
New line break and extra blank space characters disappear after submit form?
Hello,
I have a PDF form with a Submit button that is dynamically created in my code to send the form data to the server in HTML format.
After the form data is received on the server side, all strings with new line break and extra blank spaces are gone.
For example, if I enter string in a text field as shown below on the form:
Hello ,
this is
just a
test
After the form data is sent to the server, this string would become:
Hello , this is just a test
New line breaks are gone. Also, if there is more than 1 blank space character between 2 characters, the extra blank space characters would be removed as well.
It does not only happen to multi-line text field, even with single-line text field. If I have a string like this in a single-line text field:
Hello this is just a test
After the form data is sent to the server, it would become:
Hello this is just a test
The form is created in OpenOffice then converted to PDF. The Submit button is created in my program using iText. I have no idea it is iText that trims my string or PDF itself does it.
Can anyone give me any possible explanation? Thanks.That is not what I get. Since it's URL-encoded, spaces are represented by the "+" character and carriage returns are represented by the "%0d%0a" (cr/lf) sequence.
Are you looking at the actual data that getting sent to the server or the output from the server after it processes it? -
My tabs and text seem slightly corrupted. There's an apparent curviture to the corners and the tops bow. The text is affected but the font's don't appear to have been edited to different fonts. It looks like some photoshop corruption effect to be honest, but this just happens to firefox everytime I use it now. It comes up normal for a second then 'fades' into this corrupt looking version.
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
* Don't make any changes on the Safe mode start window.
* https://support.mozilla.com/kb/Safe+Mode
In Firefox 4 [http://kb.mozillazine.org/Safe_mode Safe mode] disables extensions and disables hardware acceleration.<br />
If disabling hardware acceleration works then check if there is an update available for your graphics display driver.
* Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
* Help > Restart with Add-ons Disabled
* Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows) -
Weird bug with desynced nodes - including demo and screencast
This is a follow-up to Desync of Elements and logic - how to debug?
I started a new thread because I will provide better information on this.
So we've made our graph editor working with JavaFX. One of our common demos for different products is a organizational chart demo. This is a tree-like graph with employees as nodes to depict the hierarchical structure of companies.
You can try this demo here (jre7u6 with JavaFX 2.2 b17 required):
http://www.yworks.com/products/yfilesfx/OrgChartDemo/OrgChartDemo.jnlp
We have also made a screencast which can be viewed here that shows the usage and most importantly the problem we are facing with JavaFX here:
http://www.screenr.com/uEF8
The startup is quite slow, it takes a few seconds for the graph to load. This is because the visual representation of the nodes is described within (nested) fxml files and each of those files is loaded in a not so effective way (because it is at the moment not possible in JavaFX to define a custom BeanAdapter in the FXMLLoader that does proper caching). After those files are loaded, there are still some ClassNotFoundExceptions thrown in the background by some part of the JavaFX framework I did not identify, yet. After a few seconds the performance speeds up significantly.
What you can do in this demo is described on the right. Basically you can zoom in/out, fit view, center a certain employee and interact with them.
Interaction means you can collapse and enlarge certain parts of the graph. For example, you can hide all subordinates of an employee and show them again.
The part of "showing them again" is done with an animation effect that is implemented in our framework, not in JavaFX.
When you hover an employee, a fading translation is played as a hover effect and some buttons appear. This part is important so i wanted to highlighted.
The hover effect is triggered by a onMouseEntered and onMouseExited event.
Also you can focus a certain employee by clicking on them. When clicked, the color changes from blue to orange. This is done by our internal logic, since the clickable things on the screen are not the JavaFX rectangles and such but rather a logical representation of a node with a position on the screen and a with and height.
So this is where things go wrong and what is really crucial for our application:
When you collapse/enlarge nodes (employees) a bug appears quite frequently that causes the internal representation and the actual appearence of JavaFX elements on the screen to be out of sync. Most notably the hover effect doesn't work anymore: The node is visually present (as you can see it) and the values of the nodes in the scenegraph match as well, but those nodes just are not present any more for any events. They do not receive mouse entered/exited events, hover-events and pressed-events and so on. You can still click on the node and focus it, but this is done in our framework (indicating that our logic works).
The connection of the logic and the javafx controller is done via databinding. The controller listens to changes in the corresponding model item and updates itself accordingly - you can see it when clicking on a node, the selection state of the model item changes and the controller updates the style of the javafx node.
The other effects however, like the hover-effect, are implemented on databinding on properties of the JavaFX node class: hoverProperty, onMouseEntered onMouseExited and so on.
Once a node is in this state, weird stuff is happening. For example, a node that is in this state seems to have normal values when viewed in ScenicView. However, when changing some values, for example translateX / Y, the node just disappears. (see also: http://www.screenr.com/lYF8 where i recorded that (a bit later in the video))
For an example of this have a look at the link to the screencast above. We showed how to reproduce the bug there.
We noticed that without any animation played this does not happen. So it seems to be caused by the animation. This is itself quite surprising, because we used the same animation process with other javaFX applications but never experienced this bug.
What happens is that our Animator sets the layoutX and layoutY values of a node that is being animated repeatedly and in rapid succession over a period of time.
The only thing we can think of that might cause this problem is that JavaFX somehow is not able to process a large amount of such update-calls and throws some exception internally and just dies.
Because of this we strongly hope that somebody can point us to were we have to look or how to even debug this problem.
* edit: added second screencast for ScenicViewjsmith wrote:
Just want to say thanks for the yworks stuff phelan.
I use the swing version embedded in Idea and the diagrams are really nice => everytime I make a printout I get asked "what tool did you use to generate that diagram?".:D thank you very much.
Only real advice I can offer is something you almost certainly know =>
JavaFX is a singlethreaded UI framework.
Ensure that anything you do which could read/write from nodes in an active scenegraph be done on the JavaFX application thread.I just double checked this and unless Platform.isFxApplicationThread() returns a wrong value, the only interaction with JavaFX nodes is done in the JavaFX application thread.
I think your app issues will prove very hard to resolve through this forum. Nicolas Lorain is the javafx product manager, so you could try contacting him directly for support. There is also some kind of JavaFX partner program which may be able to offer support as well, Nicolas should also have details on that.
Good luck with your app.I just searched for the JavaFX partner program, and couldn't find anything ongoing. The only advanced support I could find is the Oracle Premier Support, which at this point isn't suitable for us. I also couldn't find any contact information for Nicolas Lorain (he has a blog and twitter but I cannot find his email). So if you could point me to somewhere, I'd be very glad. -
Bug with Base LVOOP object variants and flatten string.
I found a bug when if the base LabVIEW Object is wrapped in a variant (even indirectly), it cannot sucessfully be flattened to and from a string.
Neither of these should produce an error.
And if you try to work around it with XML, it can lockup or crash.The first is the simplest demonstration of the problem.
The second is to show that problem is indirect (through multiply layers of different structures).
As for the purpose I was writing a SQLite interface that could write any form of LabVIEW data while maintaining variant attributes. I have to serialize the data somehow so the first attempt I just packed it into a variant then turned that into a string with flatten to string (since the variant contains the type info for what it holds I just need to use the type info for a variant to unserialize it). That failed with the first bug if I tried to store a variant with a attribute holding something down classed to the LabVIEW base object.
So instead of wrapping it in a variant I tried directly flattening it to a string and storing the type info from variant to flatten as a pascal string at the front of serialized data (of course this breaks if a LabVIEW object two variant levels deep is passed in). But that destroys variant attributes. So I tried wrapping that in a cluster then flattening the cluster (hence error two, and since it's indirect I can't wrap it in anything to avoid the problem).
So the current work around is to never store anything in the LabVIEW base object. So If I wanted a generic LVOOP container I would have to make a class for storable items then everything that can be stored would have to inherit from that.
I'm mainly posting since unknown bugs are rarely fixed, and this one is a bit obscure. -
Bugs with 10.4 (80), 6 and counting...
I've downloaded the last iTunes version (I´m running Leopard 10.5.8), and since I've found 6 annoying bugs:
1. Already discussed in here, "Drag & Drop" feature is not working anymore, at least for me to create new playlists. With previous versions I just dragged the Finder folder to the top left side, just between the "Music" section and the RW / STOP / FFWD buttons , and the playlist would be created with the Finder folder name automatically. Nothing happens now.
2. No additional iTunes windows will open after I close and re-open the application. When I use iTunes I´ve got a few other iTunes windows opened (some playlists, etc.) and they used to remain opened when I re-launched the application. Not anymore.
3. If I Drag some songs to a playlist, the Library won't update. I have to add those songs to the Library in order to get the songs there as well. You can try this yourself.
4. Sometimes, and for no apparent reason, search function doesn't work. I type an Artist/Song or Copy/paste it and nothing happens.
5. A few other times, my Playlist Folders, which contains several playlists won't spread out the playlists. I'd need to re-launch iTunes.
6. Sometimes if I quit the iTunes by Q or "iTunes" "Quit iTunes" it doesn't quit, but a pop-up window appears saying "iTunes is updating Album Artwork. Cancel or Quit" when I'm not doing anything of that. If I click "Cancel" nothing happens, if I click "Quit" it won't quit at all... I'd need to Force Quit.
Is anyone having the same problems?
Feel free to post here all your bugs and also the troubleshooting!Hi,
Is there a "real" reason that you are still using OSX 10.5.8? I think that we are being "shepherded" in the direction of Lion.....
iTunes may work in your v10.5.8, but I think it will have some issues....or hick-ups....
I just upgraded from OSX 10.6.4 to v10.6.8 and all is good still.
It's gonna get worse as Lion gets momentum..... might as well get on the bus....
Sorry,,,, I feel your burn. -
Problems with text box borders, tabbing and saving doc in Acrobat Pro 7.1.0
When I view my form document in Acrobat Reader, there is a red border around several text boxes
in which I've selected 'NO border'
Also, I've selected 'column order' for tabbing, but tabs continue to function in order in which I inserted form item (text box, check box or radial button). Since I didn't insert these consecutively, tabs no jump all around the form instead of proceeding in order from top to bottm and left to right.
I've checked for Mac Acrobat Pro updates and see that there are three - 7.1.1, 7.1.3, and 7.1.4, and am downloading them for install.
Do any of the updates fix these problems? Or how can it be fixed?
On opening document in Reader, I also get a message informing that document cannot be saved with changes and must be printed, even though I've created it with fillable forms.
Is there some setting for allowing document to be saved?
I want to be able to have recipient be able to download form, fill it out, save changes, attach to email and return it to me.This has been a problem since version 8 on the mac. Acrobat 7 on the mac worked fine with the right side trim but not on the PC.
We are still having this problem with Acrobat 9.4.0 on the Mac & PC.
This has now been an issue for 2 versions of Acrobat Pro.(8 & 9)
Being in Pre Press and having to constantly set the trim for jobs, this is now taking up too much time and costing money.
Please fix this Adobe.
and on another note. how hard would it be to display the trim (if set) next to where the page size is?
If the trim is set it should display it! why should we have to go to document/crop pages>trim.
Im in a busy Pre Press Dept and the amount of times you have to check a trim size is stupid.
I always set prefs to display crop / trim / and bleed boxes and this helps but it should display it if its set.
Thanks
Hope this is resolved soon. -
Bug with BI Samples Common Schema and AWM 10.1.0.4
I have installed the BI Samples available here
http://www.oracle.com/technology/products/bi/samples/samples_readme.html
The common_schema installs 3 AW's in the cs_olap user.
Now in AWM 10.1.0.4 change to "object view" and open the Utils AW. Here it is not possible to expand the "Programs" folder even though there are 32 programs in this AW.
After some debugging it turns out that the reason lies in the "BUILD_IDD" programs. Specifically the 3 lines starting with the "LD" command. When these are removed from this program it is possible to view all the programs through AWM.
Don't know if the bug lies in AWM or the BUILD_IDD program.The program will not compile unless the AW SHAW is attached and other programs have been run to add new objects to the AW. The LD command is used to add additional descriptive information to each new object added to SHAW.
Thanks for the post, this has been forwarded on to development. -
Bug with OSMF 1.6 MediaPlayer and swf version = 13.
When swf version = 13, the MediaPlayer seems to fire the TimeEvent.COMPLETE event twice for a progressive video playback.
I debugged it down to the NetStreamTimeTrait. It looks like in the case of a progressive video, the "signalComplete" method is called twice.
First from the onNetStatus event handler (NetStreamCodes.NETSTREAM_PLAY_STOP) and second from the onPlayStatus event handler (NetStreamCodes.NETSTREAM_PLAY_COMPLETE).
There seems to be an implicit assumption in onPlayStatus that it should not fire for progressive, but yet it does fire. Looks like a bug to me.
This is not an issue with swf-version=11
- AbeyHi,
This looks like an issue outside OSMF (might be Flash Player). I can't tell if there's a workaround until we investigate it.
Please raise a bug in http://bugs.adobe.com/jira/browse/FM so we'll be able to track it further.
S. -
Is it possible to show previous sessions tabs AND homepages on startup?
Hi :)
I'm wondering if it's possible to open all the previous session's tabs at startup and also open the homepage(s) at the same time? I've tried fiddling with everything in the general tab but with no success. I couldn't find any solutions on the net either so here I am.
Incase there are other ways to do what I want; the reason I want it is so I can force myself to at least look at the news everyday without losing my previous session's tabs. Silly I know but seems like a simple feature that I might be missing somehow - it would also be useful to always open email etc. that folk tend to open as soon as the browser starts anyway.
If it does exist - how please? xD And if not I might pop it in the suggestions box.
Thanks very much,
MossyThat isn't possible AFAIK.<br />
Only if all open tabs are pinned then you get one new normal tab with the startup page.
A possibility is to open the home page in a new tab with a middle-click in the toolbar Home button. -
Having trouble with making new internet tabs and windows
When I open a new tab or new window, some small blank black windows appear and disappear right away. I have tried running virus scans, uninstalling unnecessary programs and deleting memory but they still pop up. Also after the blank windows disappear, there is a "not responding" after the blank windows disappear, for about 10 seconds and then resumes normal
Well first, the version of Firefox you are running is EXTREMELY old and insecure. Please update to Firefox 11 right away. [[Updating Firefox]] can help you with that.
After doing that, if you are still having issues, Try to start Firefox in [[Safe mode|Safe mode]]. This mode disables all extensions, user customizations, hardware acceleration, etc. temporarily for diagnostic and troubleshooting. If Firefox works fine in Safe Mode, then this is likely an add-on issue. Restart Firefox in normal mode, then type "About:addons" (without the quotes) in the address bar. Disable your extensions one by one, restarting Firefox between each one, until you find the trouble maker. Once you do, you can disable that add-on and report the issue to that add-on's developer.
A few other basic trouble shooting things you can try is this:
Run all Windows Updates, install all needed service packs, etc.
Update your graphics driver (Firefox uses your graphics card for some rendering, and an out of date graphics card driver can cause problems. [https://support.mozilla.org/en-US/kb/how-do-i-upgrade-my-graphics-drivers https://support.mozilla.org/en-US/kb/how-do-i-upgrade-my-graphics-drivers].
Update all your plugins (Flash, Java, etc.): [http://www.mozilla.org/plugincheck/ http://www.mozilla.org/plugincheck/].
Download and Install MalwareBytes Anti-Malware, run a full Scan. [http://www.malwarebytes.org/ http://www.malwarebytes.org/]. This helps check that there are no viruses on your computer causing issues. You can uninstall this program after you clean off any infections.
Maybe you are looking for
-
Error while creating Subcon PO with Order (F) account assignment cat
Hi, I am trying to implement Outsourced Manufacturing scenario with ECC 604 and SNC 7.0 We would like to demonstrate "Real Time Consumption" once a phase has been completed for WO in SNC. For this, it is necessary create Subcon PO with A/c assignment
-
Hello, I basically have only fact tables that I need for my analysis. No dimensions, no hierarchies. When add two tables in OBI Answers to start the analysis I see this error: [nQSError: 14025] No fact table exists at the requested level of detail I
-
Bak2db bug id2entry.db3: No such file or directory
In 5.1, I did a database backup in the following command db2bak This command put the database backup into a directory of slapd-servername/bak. That is fine. But when I run the following command bak2db /home/iplanet/servers/slapd-servername/bak/bakcup
-
Need third party standalone player
Can anyone recommend a third-party Flash standalone player which will play .swf's? I need to have my content play NOT via a browser and I do not wish to publish as a self-contained file. This is intended for my co-workers who do not have the Flash so
-
Only photos, noting else to iPhoto?
For some reason. iPhoto openen when I have my iPhone in my computer. but I only went iPhoto to open with a digital still camera. Can anyone shed some light on this small but annoying problem?