lp:~sao/nux/cursor-blink
- Get this branch:
- bzr branch lp:~sao/nux/cursor-blink
Branch merges
- Jay Taoko (community): Approve
-
Diff: 155 lines (+46/-16)2 files modifiedNux/TextEntry.cpp (+40/-10)
Nux/TextEntry.h (+6/-6)
Related bugs
Related blueprints
Branch information
Recent revisions
- 363. By Oliver Sauder
-
When gaining focus cursor should be at the same position as when we lost focus
- 356. By Daniel van Vugt
-
Fix an X11 Display leak, causing window leaks and graphics corruption (LP: #769957)
Details:
Fixed an X11 Display leak, which caused Window leaks of the XInputWindows for the Unity panel and launcher. This created graphics corruption each time the Unity plugin restarted (other plugins toggled).
Possibly also fixed other window/resource leaks in nux/unity which were side effects of the same display leak.
Technical notes:
1. The Window objects being leaked are the _window members of XInputWindow used by BaseWindow:
:m_input_ window. While the destructor of XInputWindow does correctly call XDestroyWindow for these, they are still leaked because the DestroyWindow request never reaches the X server. That's because XDestroyWindow only queues the destroy request and does not guarantee it has or will be completed. The display parameter to XDestroyWindow is the display being leaked, and as such never flushes or completes any of its pending requests such as the destroy request. 2. Given technical note #1, it is likely that a simpler workaround for this window leak problem would be to add an XFlush call to the end of XInputWindow:
:~XInputWindow( ). That would be a simpler, more benign and compatible fix for bug 769957, however that would not fix the display leak which is the root cause of the problem. This merge proposal fixes all related leaks by removing the Display leak, which then causes the leaking windows to be destroyed also. - 355. By Jay Taoko
-
* Removed unnecessary assertion in NThreadLocalSto
rage::RegisterT LS. Fixed returned result.
* Added NThreadLocalStorage::UnRegiste rTLS - 354. By Jay Taoko
-
* Object::Dispose() now does the same thing as Object:
:UnReference( )
* Fixed memory leak in UXTheme::Load2DTextureF ile
* Mesh Resource manager
- Fixed mesh Resource manager pipeline
- See example ProgObjMeshLoader* Fixed GLSL Shaders in FontRendering.cpp
- removed global variable USE_ARB_SHADERS and replaced with GraphicsEngine::UsingGLSLCodeP ath() * Removing files IniFile.cpp/.h
* Removing files UIColorTheme.cpp/.h
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:nux