Refreshing problems - some hints, workaround

36 views
Skip to first unread message

Christian Ziemski

unread,
May 19, 2020, 3:08:03 AM5/19/20
to wikidpa...@googlegroups.com
Hi!

I'm working with several WikidPad instances on Linux here (version
2.3rc02).

From time to time in some instances there are annoying refreshing
problems with WikidPads GUI.

It's more or less an empty grey area without any text or GUI elements then.

Usually some blind navigation (page up/down) helps for a moment.
Starting a search (Ctrl-F) or switching focus to another program's
windows makes WikidPad immediately gray and unusable again.


Now I found out some more details about this effect.

{View - Show Tree view} (Ctrl-T) stabilizes WikidPad here.
No more invisible text.

Some more experiments let me think that there might be a problem with
the following entry in the Wiki's main .wiki file:

tree_expandednodes_descriptorpathes_main

I closed WikidPad and edited the .wiki file with a text editor, deleting
the data after the equal sign in this line:

tree_expandednodes_descriptorpathes_main =

WikidPad thereafter is working normally again, with or without "Show
Tree view".

I'm not sure if that is the root cause but at least it's a workaround
for now.


Christian

Vasanth

unread,
May 19, 2020, 10:00:02 AM5/19/20
to wikidpad-devel
Please create an issue in Github too : https://github.com/WikidPad/WikidPad

I suspect if we don't resolve this repaint issues, subsequent maintenance with higher python or wxPython version might become very hard.

Christian Ziemski

unread,
May 20, 2020, 9:29:18 AM5/20/20
to wikidpa...@googlegroups.com
On 19.05.20 at 09:08 I wrote:
>
> I'm working with several WikidPad instances on Linux here (version
> 2.3rc02).
>
> From time to time in some instances there are annoying refreshing
> problems with WikidPads GUI.
>
> It's more or less an empty grey area without any text or GUI elements then.

BTW: It happens with WikidPad 2.2 as well.

> Now I found out some more details about this effect.
>
> {View - Show Tree view} (Ctrl-T) stabilizes WikidPad here.
> No more invisible text.

I think I found the bug, not the solution though...
Or at least one reproducable action.

It depends on the size (height) of the tree view.

If the tree view is visible (Ctrl-T) and has more entries than are
fitting into the vertical space there is a scrollbar activated. So far
so good.

But if the tree view is now toggled hidden, the refreshing/repainting
problem is immediately there - and gone again if the tree view is
toggled visible.

If there is no scrollbar in the tree view with the current window
height, the refresh problem doesn't happen. Yeah!

Now we need to find out what's going on technically here.
wx, wxPython, Gtk...


Christian

PS: I'll file this into an Github issue now.
Reply all
Reply to author
Forward
0 new messages