jEdit Community - Resources for users of the jEdit Text Editor
dialog box ignores width setting
Submitted by masher on Thursday, 21 May, 2009 - 03:55
I'm using 4.2final

When doing File|Open or File|Save As, the resultant dialog box is very narrow horizontally.

If I type "jEdit.getProperty("vfs.browser.dialog.width")" into the BeanShell, I get a value of 112 (on startup - as indicated in the properties file). If I manually resize the window (by dragging its edge), and check
on the window width, I'll get a value in the range of 600-700 (depending on how I resize it). I can also set the width by jEdit.setProperty("vfs.browser.dialog.width", "650"). If I check the width by jEdit.getProperty("vfs.browser.dialog.width"), the width is reported as I have set it.

If I then try and open (or save) another file, the dialog box opens as a narrow box, and the width reverts back to 112.

I can manually set the height by either dragging the window or using jEdit.setProperty and it is remembered.
I can manually set the x position by using jEdit.setProperty and it is remembered. If I drag it, it isn't remembered.
If I try to set a y value, jEdit forgets it.


I have tried exiting jEdit and editing the properties files to change the vfs.browser.dialog.width to a larger number. If I edit it, and then check on the value (jEdit.getProperty) before opening any dialog boxes, the value is reported as I have set it. After I try to open a file, the dialog box opens up as narrow, and the dialog box width is now reported as 112.


Any ideas?
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Hmm. You could try moving you
by elberry on Thu, 21/05/2009 - 16:35
Hmm. You could try moving your properties file somewhere else, or renaming it.

This would force jEdit to reset those settings all together.

Also, you might try upgrading to 4.3pre16. It's very stable in spite of it's "pre" name.

There have been a lot of bug fixes since 4.2 final, this could have been one of them.

Learn from the past. Live in the present. Plan for the future.
11101000
Blog
User login
Browse archives
« April 2024  
MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82349
Context Free Art (*.cfdg)   0.31   46055
BBEdit scheme   1.0   18595
JBuilder scheme   .001   18495
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293