Home » Community » U++ community news and announcements » 2020.1 alpha
Re: 2020.1 alpha [message #53206 is a reply to message #53204] |
Thu, 19 March 2020 16:42   |
omari
Messages: 276 Registered: March 2010
|
Experienced Member |
|
|
a small patch for theide toolbar
the build buttons are the most used in the toolbar, then they shall be always visible.
in the current version, they disappear with a small window width.
diff --git a/uppsrc/ide/idebar.cpp b/uppsrc/ide/idebar.cpp
index aafa8f44b..972170003 100644
--- a/uppsrc/ide/idebar.cpp
+++ b/uppsrc/ide/idebar.cpp
@@ -445,9 +445,9 @@ void Ide::Project(Bar& menu)
{
mainconfiglist.Enable(idestate == EDITING);
buildmode.Enable(idestate == EDITING);
- menu.Add(mainconfiglist, HorzLayoutZoom(180));
+ menu.Add(mainconfiglist, HorzLayoutZoom(120));
menu.Gap(4);
- menu.Add(buildmode, HorzLayoutZoom(180));
+ menu.Add(buildmode, HorzLayoutZoom(120));
menu.Separator();
}
if(!IsEditorMode()) {
@@ -845,7 +845,6 @@ void Ide::MainTool(Bar& bar)
DebugMenu(bar);
bar.Separator();
}
- Project(bar);
if(!IsEditorMode()) {
BuildMenu(bar);
if(!debugger) {
@@ -854,6 +853,7 @@ void Ide::MainTool(Bar& bar)
}
bar.Separator();
}
+ Project(bar);
HelpMenu(bar);
}
regards
omari.
|
|
|
|
Re: 2020.1 alpha [message #53222 is a reply to message #53207] |
Mon, 23 March 2020 21:42   |
Tom1
Messages: 1303 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi,
I decided to try this new option of using CLANG or CLANGx64 instead of MSBT19x64, but have trouble with Protect package (and gdal/ogr too).
[EDIT] OK, I removed the unnecessary compiler log as simply removing xed/VERSION solved the Xed compilation issue.
However, ProtectEncrypt does not seem to work well with CLANG generated exes.
Best regards,
Tom
[Updated on: Mon, 23 March 2020 22:48] Report message to a moderator
|
|
|
Re: 2020.1 alpha [message #53230 is a reply to message #53207] |
Tue, 24 March 2020 14:39   |
omari
Messages: 276 Registered: March 2010
|
Experienced Member |
|
|
Quote:
Sorry, but I am not quite ok with making mainconfiglist or buildmode narrower. In fact, I had to extend these a couple of years back.
OK, this is just an idea.
Quote:
Besides, I do not even think that build icon is the most often used, most of time I just press F7....
here two screenshots without and with the patch:

the highlighted buttons in the second toolbar, are hidden in the first one, and there is no way to find them.
in my MacBook, there are no physical Fx buttons, then using the toolbar buttons is faster.
regards
omari.
|
|
|
|
|
|
Re: 2020.1 alpha [message #53239 is a reply to message #53231] |
Tue, 24 March 2020 17:04   |
omari
Messages: 276 Registered: March 2010
|
Experienced Member |
|
|
Quote:What resolution is this? Is font size OK? (What Mac mode this actually is?)
Maybe we should just split toolbar to two lines in case it does not fit? (based on resolution)
theide is open in a Half of the Screen.
i have to open two instance of theide side by side.
regards
omari.
|
|
|
|
Re: 2020.1 alpha [message #53241 is a reply to message #53240] |
Tue, 24 March 2020 18:19   |
omari
Messages: 276 Registered: March 2010
|
Experienced Member |
|
|
Thanks, the toolbar is split on two lines.
by the way, please check the toolbar's tooltips textcolor in dark mode.
regards
omari.
|
|
|
Re: 2020.1 alpha [message #53246 is a reply to message #53241] |
Wed, 25 March 2020 10:53   |
Tom1
Messages: 1303 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi,
I just noticed that the current version has a visualization issue with the edge rectangle of entryfields, lists, etc. I confirmed all these issues on UWord with current version. This can be seen in e.g. standard FileSel where the file and directory lists and the File entryfield all lack vertical edges. Additionally, if the width of the FileSel is increased by dragging, the horizontal edges do not extend all the way to the right edge of each panel. There are also some other corner effects that look strange on UWord main window.
TheIDE does not show these problems for me possibly because I have 'Dark' theme selected there.
Best regards,
Tom
|
|
|
|
|
|
|
Re: 2020.1 alpha [message #53256 is a reply to message #53252] |
Wed, 25 March 2020 13:10   |
Tom1
Messages: 1303 Registered: March 2007
|
Ultimate Contributor |
|
|
I have Windows Dark theme enabled at UHD 4k resolution.
I was running the yesterday's version and just now updated to current version. Build mode MSBT19x64 Release. The problem remains.
Now tried with CLANGx64 and surprisingly, the issue disappeared!
Additionally, with CLANGx64, the dark system theme is followed by the UWord, unlike with MSBT19x64, which stays light in any case.
Best regards,
Tom
|
|
|
|
Re: 2020.1 alpha [message #53259 is a reply to message #53256] |
Wed, 25 March 2020 13:34   |
Tom1
Messages: 1303 Registered: March 2007
|
Ultimate Contributor |
|
|
What is really interesting is that MSBT17 and MSBT17x64 both work correctly!
It is just this brand new MSBT19 and MSBT19x64 that fails...
(I need to emphasize that I just installed a fresh MSBT19 a couple of days ago on this computer. Could all this be linked with the MSC compiler issue you discovered recently on MSBT19?)
Best regards,
Tom
|
|
|
|
|
Goto Forum:
Current Time: Sun May 11 15:39:01 CEST 2025
Total time taken to generate the page: 0.03112 seconds
|