
CudaText 1.139.5.1 on Linux x86_64, gtk2.
In the past I've used these, as I've created some custom themes (copies/renames of existing ones).
In an attempt to debug #3625 I started from scratch with my settings and this problem went away.
I'd already synced the data and py directory with what comes with the install prior to starting from scratch on the settings, so I'm not sure what was causing the abort problem. I have backups of all my previous settings.
Do you have 'settings' directory backup, so I can take this dir, start Cud with it, and see the crash? send it to me - support(at)uvviewsoft.com
I sent the config directory (and some coredumps, and details on which release was used) to support(at)uvviewsoft.com and I referenced this issue # in the subject.
the bad thing in your 'history.json' file is
"pos" : {
"main_max" : false,
"main" : "123,62,2203,1408",
"savetabs" : "0,0,891,350",
"colortheme" : "0,0,22901,21709",
"lexerprop" : "0,0,938,723",
"lexerlib" : "0,0,459,468",
"main_mon" : 0
},
Ie 22900 pixels width of ColorThemes dialog. it gives the error. Maybe you have an idea what made such big width?
Added the fixing, beta is here http://uvviewsoft.com/c/
No. I did notice that when I'd go into one of those settings before it started was that the window opened up to large and I'd have to spend a great deal of time resizing it.
Come to think of it, even on recent times opening it up (which no crash, after starting over again with config) it was larger than it was last time before I closed it.
I had some disk corruption then move the config files to new system after recovering the file system. But I think that is coincidental, as I'm seen the growing problem before, and even with a new config, I saw the growing problem.
I tested with your config: made special size of ColorTheme dlg and opened it n times - no growing, with restart too.
Maybe you have UI scaling in your Linux?
I have 140 DPI set, but I don't have scaling enabled.


OK, so I'm taking a look at this. I opened CudaText with a config that did not have colortheme in the pos history.
"pos" : {
"main_max" : false,
"main" : "100,100,2057,1388"
},
Then I did nothing, except hit OK. It asked me if I wanted to save changes (I had made no changes). I canceled the dialog, closed CudaText. (Did not resize the colortheme window when I had it open).
"pos" : {
"main_max" : false,
"main" : "100,100,2057,1388",
"colortheme" : "0,0,809,767"
},
Reopened CudaText, opened colortheme (it was larger), hit OK, asked to save changes again (I had made no changes), I can canceled the dialog, closed CudaText. (Did not resize the colortheme window when I had it open).
"pos" : {
"main_max" : false,
"main" : "100,100,2057,1388",
"colortheme" : "0,0,1173,1112"
},
Repeated. Except this time the OK/Cancel for the colortheme dialog were below the bottom of my screen.
So I just closed the colortheme window and closed closed CudaText. (Did not resize the colortheme window when I had it open).
Checked history.json again... this time it was not pretty printed...
"pos" : { "main_max" : false, "main" : "100,100,2057,1388", "colortheme" : "0,0,1700,1612" },
What is gr? it seems to be changing as well (Except for the last time only the format changed).
// 0
"gr" : {
"panel" : "16,20",
"pages" : "50,100,50,100,16,20,16,20,16,20,16,20,"
}
// 1
"gr" : {
"panel" : "16,22",
"pages" : "50,100,50,100,16,22,16,22,16,22,16,22,"
}
// 2
"gr" : {
"panel" : "16,24",
"pages" : "50,100,50,100,16,24,16,24,16,24,16,24,"
}
// 3
"gr" : { "panel" : "16,24", "pages" : "50,100,50,100,16,24,16,24,16,24,16,24," }
I made a small change for that dialog- beta is
http://uvviewsoft.com/c/cudatext-linux-gtk2-amd64-1.139.9.0c.tar.xz
is it 'growing' too?
So, before filing this issue this is what was happening.
I'd open the colortheme window, see it was too large, then just drag it an drag it until the close button came into view, then I'd close the window. A few days or so later, I'd do the same, and it took longer fro the close button to come into view.
But I'm thinking, I like CudaText so much, I'll put up with a few glitches...
But then the RGB color string issue... so then I'd figure I'd report the colortheme issue... (and by that time it was putting up the abort dialog)
So, I've been using CudaText for a few months now. Really loving it. These are the only real defects I've seen. Everything else that was "odd to me" at first I eventually figured out the setting to make it not "odd" to me...
Only other thing is that ligatures don't work for me with Qt5 CudaText, so I'm stuck with the Gtk2 flavors...
I'll check with your small change.
Still growing, I resized it down to be in view, the repeated the above steps.
// 0
"pos" : { "main_max" : false, "main" : "100,100,2057,1388", "colortheme" : "0,0,1637,534" },
// 1
"pos" : { "main_max" : false, "main" : "100,100,2057,1388", "colortheme" : "0,0,2373,774" },
// 2
"pos" : { "main_max" : false, "main" : "100,100,2057,1388", "colortheme" : "0,0,3440,1122" },
I see I have a problem here, will work on it little later.
This not a high priority for me, now that I know what it happening this something I can just deal with, as I just need to remember to resize the theme editor window down to be very small before closing it.
Beta updated in http://uvviewsoft.com/c/
@Alexey-T I confirmed that behavior.
Seems we have the same behaviour of the 'Edit / Char map' dialog, do you confirm it?
The "Edit/Char map" dialog saves it's size, but it does not autogrow.
So, no, it does not have the buggy auto grow behavior.
However, changing it's size is of little use it seems, as the additional space is not used?

Thanks for the info, so no more 'growing' dialogs...
I made the combobox little wider.