U++: Issueshttps://www.ultimatepp.org/redmine/https://www.ultimatepp.org/redmine/redmine/favicon.ico2021-03-12T16:39:03ZRedmine
Redmine Bug #2159 (Approved): Text in TheIDE console is divided with very short chunks (Regression)https://www.ultimatepp.org/redmine/issues/21592021-03-12T16:39:03ZZbigniew Rebacz
<p>Screenshot should show what the problem is. Instead of full light of text:<br /><pre>
----- Painter ( GCC DEBUG SHARED DEBUG_FULL BLITZ POSIX LINUX ) (12 / 13)
</pre></p>
<p>The line is painted in two lines:<br /><pre>
----- Painter ( GCC DEBUG SHARED DEBUG_FULL BLITZ POSIX LINUX ) (12
/ 13)
</pre></p> Bug #2139 (Approved): TreeCtrl doesn't respect left click (TheIDE help)https://www.ultimatepp.org/redmine/issues/21392021-01-18T16:29:20ZZbigniew Rebacz
<p>Steps to reproduce:<br />1. Open help<br />2. Expand TheIDE help<br />3. Click on any entry for example "Topic++"</p>
<p>Results: Topic++ is not switched until second left click on it<br />Expected results: Topic++</p> Bug #2133 (Approved): Crash in CoreTutorial (Value2.cpp - Debug Mode)https://www.ultimatepp.org/redmine/issues/21332020-12-27T13:04:37ZZbigniew Rebacz
<p>Running CoreTutorial leads to crash. The problem is in following lines of code (Value2.cpp):<br /><pre>
#if 0
INITBLOCK { // This has to be at file level scope
#endif
Value::Register<Foo>(); // need to register value type integer id to allow serialization // <- CRASH
#if 0
}
#endif
</pre></p>
<p>This is Assert problem, so the issue is present only in debug mode.</p> Documentation #2118 (Approved): UppHub requires documentation before releasehttps://www.ultimatepp.org/redmine/issues/21182020-11-28T19:20:55ZZbigniew Rebacz
<p>Before making new release we need to make sure that UppHub is appropriate documented. Also the window with packages should have "?" button that will move you to the appropriate documentation website on ultimatepp.org.</p> Bug #2117 (Approved): Settings layout issues after UppHub developmenthttps://www.ultimatepp.org/redmine/issues/21172020-11-28T19:19:06ZZbigniew Rebacz
<p>I see some things to improve in Settings after UppHub development:<br />- "Default UppHub folder should use global select directory button instead of custom one (for consistency - we do not develop it to do not use it)<br />- The same is true for "In editor mode, path for .usc files" (needs framework select directory button for cosistency)<br />- Persistent tabs overlaps in Editor Layout<br />- "Restore default colors"m "White theme" and "Dark theme" buttons doesn't fit to the current settings window size.</p> Task #2108 (Approved): Add 1,15 interline to rich edithttps://www.ultimatepp.org/redmine/issues/21082020-11-20T21:42:50ZZbigniew Rebacz
<p>We should support this line spacing value 1,15 as other text editors do like LibreOffice Writer.</p> Bug #2096 (Approved): DropList can not be closed on macOS by clicking on window empty areahttps://www.ultimatepp.org/redmine/issues/20962020-10-30T18:53:03ZZbigniew Rebacz
<p>This works fine on Windows and on Linux probably too, but on Mac you can close drop list by Esc or switching to another control. The default behavior is that when you click in empty space the list has been closed.</p>
<p>Maybe it is good time to re-switch to mac and to fix these two issues (the first one is with focus found during rc testing) :)</p> Bug #2077 (Approved): String0::IsEqual causing warnings with newer GCChttps://www.ultimatepp.org/redmine/issues/20772020-09-25T21:03:18ZZbigniew Rebacz
<p>Here is the warnings generated by gcc on Linux:<br /><pre>
/home/klugier/upp/uppsrc/Core/AString.hpp: In member function ‘void Ide::ResolveUvsConflict()’:
/home/klugier/upp/uppsrc/Core/AString.hpp:269:36: warning: ‘int __builtin_memcmp_eq(const void*, const void*, long unsigned int)’ reading 17 bytes from a region of size 16 [-Wstringop-overflow=]
269 | return len == GetCount() && memcmp(begin(), s, len) == 0; // compiler is happy to optimize memcmp out...
| ~~~~~~^~~~~~~~~~~~~~~~~
/home/klugier/upp/uppsrc/Core/AString.hpp:269:36: warning: ‘int __builtin_memcmp_eq(const void*, const void*, long unsigned int)’ reading 17 bytes from a region of size 16 [-Wstringop-overflow=]
269 | return len == GetCount() && memcmp(begin(), s, len) == 0; // compiler is happy to optimize memcmp out...
| ~~~~~~^~~~~~~~~~~~~~~~~
/home/klugier/upp/uppsrc/Core/AString.hpp:269:36: warning: ‘int __builtin_memcmp_eq(const void*, const void*, long unsigned int)’ reading 21 bytes from a region of size 16 [-Wstringop-overflow=]
269 | return len == GetCount() && memcmp(begin(), s, len) == 0; // compiler is happy to optimize memcmp out...
|
</pre></p>
<p>Solution that fix the warning (not sure about performance):<br /><pre>
inline
bool String0::IsEqual(const char *s) const
{ // This optimized for comparison with string literals...
size_t len = strlen(s);
return len == GetCount() && strncmp(begin(), s, len) == 0;
}
</pre></p>
<p>Tested on GCC 10.2.</p> Task #2076 (Approved): Native tooltips colors for GTK3https://www.ultimatepp.org/redmine/issues/20762020-09-24T19:33:00ZZbigniew Rebacz
<p>It's seems that we can obtain appropriate tool-tip colors for GTK3 apps:<br /><pre>
Gtk_New("tooltip.background");
SColorInfo_Write(GetBackgroundColor());
Gtk_New("tooltip.color");
SColorInfoText_Write(GetInkColor());
</pre><br />Instead of:<br /><pre>
Gtk_New("tooltip.background");
SColorInfo_Write(GetBackgroundColor());
SColorInfoText_Write(GetInkColor());
</pre></p>
<p>Now the font color is appropriate and looks similar to native system tooltips.</p>
<p>Patch attached for whole change scope...</p> Feature #2072 (Approved): Making "Select Main Package" more accessible for begginershttps://www.ultimatepp.org/redmine/issues/20722020-09-17T22:57:30ZZbigniew Rebacz
<p>I just created a little change to our first view "Select Main Package". I added "?" symbol. It opens "https://www.ultimatepp.org/app$ide$PackagesAssembliesAndNests$en-us.html" site on click.</p> Task #2066 (Approved): Docking package produce warninghttps://www.ultimatepp.org/redmine/issues/20662020-09-12T21:15:36ZZbigniew Rebacz
<p>Fix following warning in docking package:<br /><pre>
/home/klugier/upp/uppsrc/Docking/DockCont.cpp (573): warning: address of array 'this->GetCurrent().GetStyle().highlight' will always evaluate to 'true' [-Wpointer-bool-conversion]
/home/klugier/upp/.cache/upp.out/reference/Docking/CLANG.Debug.Debug_Full.Gui.Shared/Docking$blitz.cpp (74): In file included from /home/klugier/upp/.cache/upp.out/reference/Docking/CLANG.Debug.Debug_Full.Gui.Shared/Docking$blitz.cpp:74:
(): ChPaint(v, GetSize(), �GetCurrent().GetStyle().�h�ighlight�);
</pre></p>
<p>Should be in 2020.2.</p> Bug #2063 (Approved): GTestUIExample compilation error on mac due to lack of image comparision on...https://www.ultimatepp.org/redmine/issues/20632020-09-10T17:02:02ZZbigniew Rebacz
<p>It seems that mac draw is lack of some featuer to compare draws:<br /><pre>
TEST_F(AppWindowTest, ApperanceTest)
{
const String fileName = "MyAppWindow.png";
ImageDraw id(window->GetRect().Size());
window->DrawCtrl(id);
PNGEncoder encoder;
if (!FileExists(fileName)) {
encoder.SaveFile(fileName, id);
ASSERT_TRUE(false) << "Non found referal window image. Creating new one and failing test..\n";
}
auto img = StreamRaster::LoadFileAny(fileName);
EXPECT_EQ(img, id); // <- This line doesn't work (GTK and WIN32 are fine with it).
}
</pre></p>
<p>Potential blocker for 2020.2 release.</p> Bug #2062 (Approved): DropList item can not be selected on macOS when it is too bighttps://www.ultimatepp.org/redmine/issues/20622020-09-10T16:31:56ZZbigniew Rebacz
<p>I found strange issue. When I wanted to port GTestUIExample on macOS I came into problem that DropList element can not be selected when it is too big. Screenshot attached:</p>
<p>Seems like release blocker for 2020.2.</p> Bug #1987 (Approved): Assist++ size should depends on TheIDE window size not workspacehttps://www.ultimatepp.org/redmine/issues/19872019-09-13T23:33:31ZZbigniew Rebacz
<p>It seems that Assist++ takes half of screen on ultra-wide monitor (21:9) and it is TheIDE windows length. I attached screenshot to demonstrate the problem.</p> Task #1982 (Approved): TheIDE: Stack forward/backward should be disabled when application is runn...https://www.ultimatepp.org/redmine/issues/19822019-08-18T20:01:20ZZbigniew Rebacz
<p>-</p>