U++: Issueshttps://www.ultimatepp.org/redmine/https://www.ultimatepp.org/redmine/redmine/favicon.ico2019-02-26T20:10:10ZRedmine
Redmine Bug #1933 (Rejected): Fonts are not verticaly centered on Manjaro Linux (KDE)https://www.ultimatepp.org/redmine/issues/19332019-02-26T20:10:10ZZbigniew Rebacz
<p>I just installed new distribution and found that text is not vertically centered like on other distributions. I attached screenshot for more information:</p> Bug #1931 (Approved): MenuBar immediatly close after upping right mouse button (Mint Cinamon)https://www.ultimatepp.org/redmine/issues/19312019-02-20T20:09:59ZZbigniew Rebacz
<p>After clicking right button the menu show for very short period of time and the close. It happens for controls such as EditField or in IconDes icon list.</p>
<p>The issue is reproduce with Linux Mint Cinamon environment (probably on Gnome distros it behaves similar).</p>
<p>Please test before release.</p> Bug #1927 (Approved): Minimal window size is not respectedhttps://www.ultimatepp.org/redmine/issues/19272019-01-25T23:44:14ZZbigniew Rebacz
<p>For me it seems like the regression. Some window with defined minimal size now can be very very small.</p>
<p>Tested on GTK back-end.</p>
<p>The priority is set to urgent, because the core functionality is broken. We also need to know that other platforms are affected as well.</p> Task #1901 (Rejected): Replace GUI_APP_MAIN_HOOK with something more polishedhttps://www.ultimatepp.org/redmine/issues/19012018-08-11T19:09:41ZZbigniew Rebacz
<p>GUI_APP_MAIN_HOOK is now part of public CtrlCore API and it looks bad and generates warning "GUI_APP_MAIN_HOOK" redefined when used as designed.</p>
<p>In my opinion GUI_APP_MAIN_HOOK problem should be solved in following way:<br /><pre><code class="cpp syntaxhl"><span class="CodeRay"><span class="comment">// Solution</span>
std::function<<span class="predefined-type">bool</span>()> AfterAppInitHandler = {};
<span class="preprocessor">#define</span> GUI_APP_MAIN \
<span class="directive">void</span> GuiMainFn_(); \
\
<span class="predefined-type">int</span> main(<span class="predefined-type">int</span> argc, <span class="predefined-type">char</span> *argv, <span class="directive">const</span> <span class="predefined-type">char</span> *envptr) { \
UPP::AppInit__(argc, (<span class="directive">const</span> <span class="predefined-type">char</span> **)argv, envptr); \
<span class="keyword">if</span>(AfterAppInitHandler && AfterAppInitHandler()) \
<span class="keyword">return</span> UPP::GetExitCode(); \
...
<span class="comment">// Usage:</span>
INITBLOCK {
AfterAppInitHandler = []() -> <span class="predefined-type">bool</span> {
<span class="comment">// Do whatever you need here (handle command line etc.)... </span>
<span class="keyword">return</span> <span class="predefined-constant">false</span>;
};
}
</span></code></pre></p>
<p>Clean and elegant solution compatible with c++11 and above that can be used in 3-rd party code with convenience.</p> Task #1840 (New): System notification should not be limited only to tray iconhttps://www.ultimatepp.org/redmine/issues/18402018-02-18T20:21:13ZZbigniew Rebacz
<p>Application should be able to send system notification without the need of use TrayIcon class.<br /><pre><code class="cpp syntaxhl"><span class="CodeRay"><span class="keyword">class</span> <span class="class">TrayIcon</span> {
<span class="directive">void</span> Info(<span class="directive">const</span> <span class="predefined-type">char</span> *title, <span class="directive">const</span> <span class="predefined-type">char</span> *text, <span class="predefined-type">int</span> timeout = <span class="integer">10</span>) { Message(<span class="integer">1</span>, title, text, timeout); }
<span class="directive">void</span> Warning(<span class="directive">const</span> <span class="predefined-type">char</span> *title, <span class="directive">const</span> <span class="predefined-type">char</span> *text, <span class="predefined-type">int</span> timeout = <span class="integer">10</span>) { Message(<span class="integer">2</span>, title, text, timeout); }
<span class="directive">void</span> Error(<span class="directive">const</span> <span class="predefined-type">char</span> *title, <span class="directive">const</span> <span class="predefined-type">char</span> *text, <span class="predefined-type">int</span> timeout = <span class="integer">10</span>) { Message(<span class="integer">3</span>, title, text, timeout); }
};
</span></code></pre></p>
<p>So, this can be moved to CtrlCore as a separate method class like:<br /><pre><code class="cpp syntaxhl"><span class="CodeRay"><span class="keyword">class</span> <span class="class">Notification</span> final {
<span class="directive">public</span>:
Notification() = <span class="keyword">delete</span>;
<span class="directive">static</span> Info(...) {...}
}
</span></code></pre></p> Bug #1811 (Approved): Font scaling breaks auto-complete popup placemenhttps://www.ultimatepp.org/redmine/issues/18112017-11-13T23:47:05ZZbigniew Rebacz
<p><a class="external" href="https://www.ultimatepp.org/forums/index.php?t=msg&goto=48965&#msg_48965">https://www.ultimatepp.org/forums/index.php?t=msg&goto=48965&#msg_48965</a> - it seems that this is CtrLib or CtrlCore problem. Please give high attention, because of the importance of UHD displays.</p> Bug #1481 (Rejected): Fix DHCtrl for X11 and recover OpenGLhttps://www.ultimatepp.org/redmine/issues/14812016-06-25T18:25:59ZZbigniew Rebacz
<p>It seems that recent changes to DHCtrl cause that OpenGL is not rendered on X11 backend. The easiest fix is to revert to old code with commenting.</p> Bug #1478 (Approved): X11 backend is not compiling with new U++https://www.ultimatepp.org/redmine/issues/14782016-06-25T08:34:24ZZbigniew Rebacz
<p>I think the problem is in RegisterSystemHotkey method.</p> Bug #1397 (Approved): CTRL+SHIFT+$(Number) shortcuts dosen't work on GTK and X11 backend (Confirm...https://www.ultimatepp.org/redmine/issues/13972016-03-28T19:22:31ZZbigniew Rebacz
<p><a class="external" href="http://www.ultimatepp.org/forums/index.php?t=msg&goto=46226&#msg_46226">http://www.ultimatepp.org/forums/index.php?t=msg&goto=46226&#msg_46226</a></p>
<p>Easily reproducible with reference/Events.cpp</p>
<p>On X11 backend only CTRL+SHIFT+2 works. Priority is high because two back-ends are affected.</p>
<p>Windows is not affected.</p> Bug #1301 (Approved): Clicking on button in place cause troubles (GTK backend)https://www.ultimatepp.org/redmine/issues/13012015-10-22T20:32:05ZZbigniew Rebacz
<p>1. Start clicking on button that has got "Check" option in toolbar. After several clicks (two or more) it starts causing problems.<br />2. It seems that it is GTK backend problem, because it works fine on X11.<br />3. This bug is quite important, because it can affects other things in this backend.</p> Bug #993 (Approved): Fix uBomb examplehttps://www.ultimatepp.org/redmine/issues/9932015-02-24T00:32:02ZZbigniew Rebacz
<p>It seems that uBomb works strange (cross is always painted).</p>
<p>Simple fix in file (No diff, beacuse I don't have this file under version control).</p> Bug #988 (Approved): KDE - GTK apps hangs in debug mode (GTK Backend!)https://www.ultimatepp.org/redmine/issues/9882015-02-18T19:05:35ZZbigniew Rebacz
<p>To reproduce his bug. You will need to use KDE with oxygen-gtk theme (use by default on almost all KDE distributions).</p>
<p>1. Compile app in debug mode.<br />2. Run app in debuger (defualt process - CTRL + F5)<br />3. Use menu bar.<br />4. Turn off app.</p>
<p>It is hard to say from debug information what causing this problem.</p>
<ul>
<li>CRITICAL!</li>
</ul> Bug #970 (Approved): Gtk backend hangs on "Ctrl::RenderPrimarySelection" (GtkClip.cpp)https://www.ultimatepp.org/redmine/issues/9702015-01-27T16:45:35ZZbigniew Rebacz
<p>Sometimes I have got random crashes on Linux with GTK IDE Backend. It seems that I have found cause.</p>
<p>How to reproduce? (It is hard)</p>
<p>1. Run IDE.<br />2. Try to double click on assembly name (Do this fast).<br />3. If evrything is OK. Press cancel.<br />4. Repeat points 2 & 3 untile the error occures.</p> Bug #689 (Approved): Ctrl::Create should invoke "RefreshLayoutDeep" method (GTK backend)https://www.ultimatepp.org/redmine/issues/6892014-02-13T16:11:17ZZbigniew Rebacz
<p>It seems that GTK backend author forgot to add "RefreshLayoutDeep()" invocation at the end of Ctrl::Create method. All other backends do this (Win32, X11).</p>
<p>This invocation is very important, because it can prevent us from some graphical artifacts like invisible menu bar on KDE.</p> Feature #618 (Approved): GTK backend needs IsCompositeGUI implementationhttps://www.ultimatepp.org/redmine/issues/6182013-12-28T23:38:45ZZbigniew Rebacz
<p>I think gtk backend should support "bool Ctrl::IsCompositedGUI()" method.</p>
<p>So, this is my implementation(CtrlCore/GtkWnd.cpp - line 57):<br /><pre>
bool Ctrl::IsCompositedGui()
{
GuiLock __;
static bool b = gdk_display_supports_composite(gdk_display_get_default()); // <- Should I use "gdk_display_get_default()" or something else for example stored variable???
return b;
}
</pre></p>
<ul>
<li>It seems that this patch is very important for some proprietary GPU drivers like NVIDIA, because b value is always true.</li>
</ul>