Menu

#1707 text editing issue : cannot erase, cut or use enter

closed
None
linux
2026-01-20
2020-04-24
No

From a few weeks, I cannot erase character or create a new line when pressing enter. Cannot select to erase a part of the description

Discussion

  • Aaron Wolf

    Aaron Wolf - 2020-04-25
    • assigned_to: Aaron Wolf
     
  • Aaron Wolf

    Aaron Wolf - 2020-04-25

    I'm on a Linux system and not having these problems. What system is it? When specifically do you have the problems (is it within the editor view or just the task list view?

     
  • lengagne sebastien

    I am on Ubuntu Mate 18.04
    I join a video file of my issue

     
    • Aaron Wolf

      Aaron Wolf - 2020-04-26

      Thanks, seems very slow and unresponsive. I would check if there's a .delta file that is getting large. I just checked mine and it was 3.8MB, much larger than my task file. You can close Task Coach and delete that .delta file. It might not solve the ENTER issues, but it may help the slowness.

      You could also try renaming temporarily the .ini file. https://answers.launchpad.net/taskcoach/+faq/1061 that will reset your preferences but not lose the tasks. If it doesn't help, you can readily either set the prefs again or bring back the renamed .ini file.

      Do those things with Task Coach closed. Then re-open. If you still have the ENTER issue, there is some additional bug going on.

       
  • lengagne sebastien

    the delta file was quite small, I removed it, not solving the issue.
    I also tried to rename the file but it does not solve the issue.
    I launch taskcoach.py in a terminal and get the following wanings :

    (taskcoach.py:16884): Gtk-CRITICAL **: 00:40:06.963: gtk_widget_set_size_request: assertion 'height >= -1' failed
    00:40:06: Debug: ClientToScreen cannot work when toplevel window is not shown
    00:40:06: Debug: ScreenToClient cannot work when toplevel window is not shown
    00:40:07: Debug: ScreenToClient cannot work when toplevel window is not shown
    00:40:07: Debug: ScreenToClient cannot work when toplevel window is not shown
    00:40:07: Debug: ScreenToClient cannot work when toplevel window is not shown
    00:40:07: Debug: ScreenToClient cannot work when toplevel window is not shown

    (taskcoach.py:16884): Gdk-CRITICAL **: 00:40:07.430: gdk_visual_get_red_pixel_details: assertion 'GDK_IS_VISUAL (visual)' failed

    (taskcoach.py:16884): Gdk-CRITICAL **: 00:40:07.430: gdk_visual_get_green_pixel_details: assertion 'GDK_IS_VISUAL (visual)' failed

    (taskcoach.py:16884): Gdk-CRITICAL **: 00:40:07.430: gdk_visual_get_blue_pixel_details: assertion 'GDK_IS_VISUAL (visual)' failed

    (taskcoach.py:16884): Gdk-CRITICAL **: 00:40:07.430: gdk_visual_get_depth: assertion 'GDK_IS_VISUAL (visual)' failed
    00:40:16: Debug: ScreenToClient cannot work when toplevel window is not shown
    00:40:16: Debug: ScreenToClient cannot work when toplevel window is not shown

    (taskcoach.py:16884): Gtk-CRITICAL **: 00:40:16.134: gtk_widget_set_size_request: assertion 'height >= -1' failed
    00:40:16: Debug: ScreenToClient cannot work when toplevel window is not shown
    00:40:16: Debug: ScreenToClient cannot work when toplevel window is not shown
    00:40:16: Debug: ScreenToClient cannot work when toplevel window is not shown
    00:40:16: Debug: ScreenToClient cannot work when toplevel window is not shown
    00:40:16: Debug: ScreenToClient cannot work when toplevel window is not shown
    00:40:16: Debug: ScreenToClient cannot work when toplevel window is not shown

    Best regards
    Sébastien

     
  • Aaron Wolf

    Aaron Wolf - 2020-04-27
    • assigned_to: Aaron Wolf --> Jérome Laheurte
     
  • Aaron Wolf

    Aaron Wolf - 2020-04-27

    Sorry for the troubles. I'm not sure what else to do, so I'm assigning this to Jerome in case he can help.

     
  • lengagne sebastien

    When I clode Taskcoach I get the following log file :
    ============= Tue Apr 28 00:49:57 2020
    Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/taskcoachlib/thirdparty/customtreectrl.py", line 7145, in OnKeyDown
    if not self.IsItemEnabled(self._current):
    File "/usr/lib/python2.7/dist-packages/taskcoachlib/thirdparty/hypertreelist.py", line 2591, in IsItemEnabled
    return item.IsEnabled()
    AttributeError: 'NoneType' object has no attribute 'IsEnabled'
    Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/taskcoachlib/thirdparty/customtreectrl.py", line 7145, in OnKeyDown
    if not self.IsItemEnabled(self._current):
    File "/usr/lib/python2.7/dist-packages/taskcoachlib/thirdparty/hypertreelist.py", line 2591, in IsItemEnabled
    return item.IsEnabled()
    AttributeError: 'NoneType' object has no attribute 'IsEnabled'
    Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/taskcoachlib/thirdparty/customtreectrl.py", line 7215, in OnKeyDown
    prev = self.GetItemParent(self._current)
    File "/usr/lib/python2.7/dist-packages/taskcoachlib/thirdparty/customtreectrl.py", line 4478, in GetItemParent
    return item.GetParent()
    AttributeError: 'NoneType' object has no attribute 'GetParent'
    Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/taskcoachlib/thirdparty/customtreectrl.py", line 7215, in OnKeyDown
    prev = self.GetItemParent(self._current)
    File "/usr/lib/python2.7/dist-packages/taskcoachlib/thirdparty/customtreectrl.py", line 4478, in GetItemParent
    return item.GetParent()
    AttributeError: 'NoneType' object has no attribute 'GetParent'

     
  • Jérome Laheurte

    The warnings from GTK are probably harmless. The traceback on the other hand is something I've seen when key presses are registered in a state where they aren't expected, like when quitting.

    Could you check Task Coach's CPU usage using "top" in a terminal ?

    BTW I'm unable to reproduce this on Ubuntu 18.04LTS

     
  • lengagne sebastien

    here is the result of top :
    PID UTIL. PR NI VIRT RES SHR S %CPU %MEM TEMPS+ COM.
    1520 root 20 0 725588 170120 111308 S 2,7 0,5 7:47.06 Xorg
    2070 selengag 9 -11 3701880 19392 14544 S 1,7 0,1 6:46.58 pulseaudio
    3748 selengag 20 0 962232 47228 32672 S 1,7 0,1 0:09.96 mate-terminal
    2501 selengag 20 0 1549260 168660 55976 S 0,7 0,5 0:45.24 taskcoach.py

     
  • Jérome Laheurte

    Not what I thought then. If the problem persists after you have deleted your .ini file that means it has something to do with your window manager, or maybe a wx update ? It used to work a few weeks ago IIRC ?

     
  • lengagne sebastien

    It seems I have the same "back space issue" using rapidsvn

     
  • Jérome Laheurte

    So that would point to a problem with wxWidgets then, probably. I realized that I actually have Ubuntu 20 installed, not 18, but I must install 18.04 for other reasons so I'll try to reproduce after that

     
  • lengagne sebastien

    I tried to use plasma instead of mate, and there is no this issue only using mate.

     
    • Aaron Wolf

      Aaron Wolf - 2020-04-29

      I don't understand that sentence fully. Is it (A) plasma works, mate does not or (B) the issue remained in plasma, both show the problem?

       
  • lengagne sebastien

    Hi, there is not this issue using plasma.
    There is the "backspace, enter, arrow" issue using mate (with all user account).

    I tried to purge all mate and ubuntu-mate and to re install, not solving the issue.

    I retired top when typing enter or backspace :
    It seems it works but with a very very long time

    PID UTIL. PR NI VIRT RES SHR S %CPU %MEM TEMPS+ COM.
    2594 selengag 20 0 1480896 174836 56972 R 76,8 0,5 1:17.88 taskcoach.py

     
  • Jérome Laheurte

    Okay I'll try both configurations when I'm done reinstalling my system

     
  • lengagne sebastien

    Hi, I tried to re install Ubuntu mate 18.04.
    There is no more issue (I hope for the moment)

     
  • Jérome Laheurte

    What the hell :) I'll give it a try anyway since I have to install 18.04 for different reasons, but if it's random I'll probably won't be able to reproduce it. On the other hand if it doesn't happen for you anymore all is well

     
  • lengagne sebastien

    Hi all,

    After re install, the problem was solved untill yesterday.
    I look deeply for a solution and I found this page : https://forum.kicad.info/t/backspace-left-right-keys-not-working/8553/14

    The solution is : sudo apt-get install ibus-gtk ibus-gtk3

    log out and log in and problem solved !!

     
  • Jérome Laheurte

    Interesting. I wonder what chain of events caused this since we don't use dbus (directly)..

     
  • Jérome Laheurte

    Not DBus, "ibus" ? I don't even know what that is :)

     
  • Aaron Wolf

    Aaron Wolf - 2025-12-26
    • status: open --> closed
     
  • Aaron Wolf

    Aaron Wolf - 2025-12-26

    Hi, excited to tell you that https://github.com/taskcoach/taskcoach now has updated Python3 Task Coach packages for Linux. Give it a try and report bugs there, cheers!

    Hopefully the text issues will be resolved, everything is working for me at this time

     

Log in to post a comment.

MongoDB Logo MongoDB