U++: Issueshttps://www.ultimatepp.org/redmine/https://www.ultimatepp.org/redmine/redmine/favicon.ico2019-10-16T18:31:02ZRedmine
Redmine Bug #1994 (Rejected): CtrlCore: Xinerama library dependency required for "GUI .NOGTK" on FreeBSDhttps://www.ultimatepp.org/redmine/issues/19942019-10-16T18:31:02ZSender Ghost
<p>There is following linking error, if build examples/AddressBook package with using "GUI .NOGTK" main package configuration on FreeBSD operating system:<br /><pre>
Linking...
<...>/CtrlCore/CLANG.Gui.Nogtk.Shared/CtrlCore.a(X11App.o): In function `Upp::FindScreensResolutions()':
<..>/uppsrc/CtrlCore/X11App.cpp:(.text._ZN3Upp22FindScreensResolutionsEv+0x2c): undefined reference to `XineramaQueryExtension'
<..>/uppsrc/CtrlCore/X11App.cpp:(.text._ZN3Upp22FindScreensResolutionsEv+0x40): undefined reference to `XineramaIsActive'
<..>/uppsrc/CtrlCore/X11App.cpp:(.text._ZN3Upp22FindScreensResolutionsEv+0x5f): undefined reference to `XineramaQueryScreens'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
</pre></p>
<p>With following (filtered) ldd output for AddressBook executable (after applied patch):<br /><pre>
% ldd -a AddressBook | sed 's/ (.*)$// ; s|^/.*/||' | head -22
AddressBook:
libX11.so.6 => /usr/local/lib/libX11.so.6
libXau.so.6 => /usr/local/lib/libXau.so.6
libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6
libXft.so.2 => /usr/local/lib/libXft.so.2
libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1
libXrender.so.1 => /usr/local/lib/libXrender.so.1
libfreetype.so.6 => /usr/local/lib/libfreetype.so.6
libexpat.so.1 => /usr/local/lib/libexpat.so.1
libxcb.so.1 => /usr/local/lib/libxcb.so.1
libXinerama.so.1 => /usr/local/lib/libXinerama.so.1
libthr.so.3 => /lib/libthr.so.3
librt.so.1 => /usr/lib/librt.so.1
libexecinfo.so.1 => /usr/lib/libexecinfo.so.1
libz.so.6 => /lib/libz.so.6
libpng16.so.16 => /usr/local/lib/libpng16.so.16
libc++.so.1 => /usr/lib/libc++.so.1
libcxxrt.so.1 => /lib/libcxxrt.so.1
libm.so.5 => /lib/libm.so.5
libgcc_s.so.1 => /lib/libgcc_s.so.1
libc.so.7 => /lib/libc.so.7
libX11.so.6:
</pre></p>
<p>Patch attached. But I guess, possible to simplify many Xinerama library dependency cases for uppsrc/CtrlCore package.</p> 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> 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 #1649 (New): CtrlCore: 'CurrentTime' macro redefined in GtkX11Util.cpp filehttps://www.ultimatepp.org/redmine/issues/16492017-02-23T12:52:27ZSender Ghost
<p>The following warning was found on FreeBSD 10.3 (GTK+ 2.24.29, libX11 1.6.4, xproto 7.0.31) with using LLVM/Clang 3.4.1 (and 3.9.1) compiler:<br /><pre>In file included from <...>/uppsrc/CtrlCore/GtkX11Util.cpp:15:
In file included from /usr/local/include/gtk-2.0/gdk/gdkx.h:32:
In file included from /usr/local/include/X11/Xlib.h:44:
/usr/local/include/X11/X.h:139:9: warning: 'CurrentTime' macro redefined
#define CurrentTime 0L /* special Time */
^
<...>/uppsrc/CtrlCore/GtkX11Util.cpp:13:9: note: previous definition is here
#define CurrentTime XCurrentTime
^
1 warning generated.</pre></p>
<p>Reference links:<br /><a class="external" href="https://github.com/ultimatepp/mirror/blob/2b60bd8e064361c4470c6c2d881b3b82a8f38835/uppsrc/CtrlCore/GtkX11Util.cpp#L15">https://github.com/ultimatepp/mirror/blob/2b60bd8e064361c4470c6c2d881b3b82a8f38835/uppsrc/CtrlCore/GtkX11Util.cpp#L15</a><br /><a class="external" href="https://git.gnome.org/browse/gtk+/tree/gdk/x11/gdkx.h?h=2.24.29#n32">https://git.gnome.org/browse/gtk+/tree/gdk/x11/gdkx.h?h=2.24.29#n32</a><br /><a class="external" href="https://cgit.freedesktop.org/xorg/lib/libX11/tree/include/X11/Xlib.h?id=libX11-1.6.4#n44">https://cgit.freedesktop.org/xorg/lib/libX11/tree/include/X11/Xlib.h?id=libX11-1.6.4#n44</a><br /><a class="external" href="https://cgit.freedesktop.org/xorg/proto/xproto/tree/X.h?id=xproto-7.0.31#n139">https://cgit.freedesktop.org/xorg/proto/xproto/tree/X.h?id=xproto-7.0.31#n139</a><br /><a class="external" href="https://github.com/ultimatepp/mirror/blob/2b60bd8e064361c4470c6c2d881b3b82a8f38835/uppsrc/CtrlCore/GtkX11Util.cpp#L13">https://github.com/ultimatepp/mirror/blob/2b60bd8e064361c4470c6c2d881b3b82a8f38835/uppsrc/CtrlCore/GtkX11Util.cpp#L13</a></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 #1474 (Rejected): Unity global menu supporthttps://www.ultimatepp.org/redmine/issues/14742016-06-20T18:19:04ZZbigniew Rebacz
<p>We should be able to support unity global menu. Firstly we need Dbus support.</p> Feature #1473 (New): Dbus support for linuxhttps://www.ultimatepp.org/redmine/issues/14732016-06-20T18:18:11ZZbigniew Rebacz
<p>I think we should wrapp Dbus API.</p> Feature #1199 (Rejected): Add function "void DisableCtrls(const Vector< Ptr<Ctrl> >& ctrl)" to Ct...https://www.ultimatepp.org/redmine/issues/11992015-07-23T13:00:32ZZbigniew Rebacz
<p>It seems that there is not counterweights for following method "void EnableCtrls(const Vector< Ptr<Ctrl> >& ctrl)".</p>
<p>We should also think about documented this two functions.</p> Bug #998 (New): Switching menu bar item is potentialy slow (can generate lag effect)https://www.ultimatepp.org/redmine/issues/9982015-02-26T22:39:33ZZbigniew Rebacz
<p>For example in IDE the process look like this.<br />- Mouse enter menu bar (Menu Bar has got focus)<br />- Menu bar item is open<br />- Mouse move to another menu entry.<br /> - Focus Lost<br /> - Code Editor paints caret (This generate something like lag effect!)<br />- Another menu bar item is open</p>
<p>Moving fast from menu items generate flashing caret in code editor.</p> Bug #940 (New): Random crashes in linuxhttps://www.ultimatepp.org/redmine/issues/9402014-11-27T10:36:26ZMiroslav Fidlercxl@ntllib.org
<p>Usually mouse moves to toolbar area or caption of theide -> crash</p> Feature #816 (New): Handle resolution change event on all existing backendshttps://www.ultimatepp.org/redmine/issues/8162014-07-26T11:57:27ZZbigniew Rebacz
<p>I think we should handle OS resolution change evnet. This is very important, because in currently U++ release we need to restart our application to adapt to the new definition.</p>
<p>Bugs related with this feature:<br />- Menubar can be open only on one certain screen when we turn on multimonitor mode in OS.<br />- When new resolution is bigger than previous window cannot be maximize.<br />- Probably more...</p>
<p>P.S.<br />This feature needs changes in Upp CtrlCore initialization structure. We need to reinitialize static variables when resolution is changed.</p> Bug #666 (Rejected): Provide access to underlying X11 Window of DHCtrl in GTK+ backendhttps://www.ultimatepp.org/redmine/issues/6662014-01-26T17:20:30ZMassimo Del Fedelemax@veneto.com
<p>Since introduction of GTK backend, the DHCtrl control (in GTK) is simply<br />a Ctrl alias.<br />I'd need access to underlying X11 window object in order to embed<br />an OpenCascade window there.<br />Now it's only possible in windows and in X11 backends, not in GTK one.</p>
<p>The best would be to add a protected function GetHWND() to Ctrl, returning Null for non-windowes controls<br />and the window handle for windowed ones, and make it public in DHCtrl.</p> Bug #568 (Rejected): Ctrl::GetDefaultWindowRect on X11 dosen't recognize multi monitor mode.https://www.ultimatepp.org/redmine/issues/5682013-11-12T01:02:28ZZbigniew Rebacz
<p><a class="external" href="http://www.ultimatepp.org/forum/index.php?t=msg&th=7902&start=0x%x">http://www.ultimatepp.org/forum/index.php?t=msg&th=7902&start=0x%x</a>%</p> Bug #298 (Rejected): TopWindow incorrectly animated if popup appearshttps://www.ultimatepp.org/redmine/issues/2982012-06-12T12:23:05ZDaniel Kosunodgs@tlen.pl
<p>How to reproduce:<br />1. Open ide project in TheIde and select Draw package and then select DrawText.cpp file<br />2. Press Ctrl-G<br />3. Find a DrawText method that has signature longer than symbol column's width (popup should appear) and leave mouse pointer there (see screenshot1)<br />4. Press ESC to close the window<br />5. Press Ctrl-G again to see incorrectly animated window during opening (screenshot2) (I guess this is vista+ issue only)</p>
<p>I found that this happens only if method signature is painted over the window middle.</p> Bug #268 (Rejected): In linux / ide, ugly flashing of menu titlebar when going through menuhttps://www.ultimatepp.org/redmine/issues/2682012-03-27T06:53:22ZMiroslav Fidlercxl@ntllib.org