Allexin / TrackYourTime

Track Your Time - Cross-platform automated time tracker
GNU General Public License v3.0
388 stars 59 forks source link

Запускается, но окна нет #98

Open dmgl opened 5 years ago

dmgl commented 5 years ago

Здравствуйте, подскажите путь для отладки. Окружение Pantheon Desktop Environment после старта висит процесс, но окна нигде нет.

dmgl@metal:~/Programs/TrackYurTime$ ./checksystem 
X Window System - OK
dmgl@metal:~/Programs/TrackYourTime$ ./TrackYourTime 
Gtk-Message: 13:24:06.869: Failed to load module "pantheon-filechooser-module"
application start

laod translation

init datamanager

cDataManager: start DB loading

cDataManager: end DB loading

init schedule

init updater

init tray icon

init applications window

init profiles window

init app settings window

init settings window

init schedule window

init statistic window

init about window

init update window

init notification window

start schedule

start app loop

На этом всё. Ничего иного не происходит.

А процесс живой -

strace: Process 25348 attached
strace: Process 25348 detached
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 32.15    0.113089           9     12955           poll
 24.05    0.084613           5     15713     10016 recvmsg
 15.04    0.052902           9      5934           writev
  3.72    0.013078           8      1560           stat
  3.03    0.010645           6      1723           read
  3.02    0.010607           6      1671       381 recvfrom
  2.70    0.009501           9      1032           close
  2.53    0.008913          17       516           socket
  2.37    0.008320          32       258           sendmsg
  2.04    0.007184          14       516           connect
  1.89    0.006661           4      1548           fcntl
  1.70    0.005964          12       516           access
  1.39    0.004901           9       516           openat
  1.06    0.003733           7       516           shutdown
  0.93    0.003259           6       516           getpeername
  0.82    0.002884           6       516           fstat
  0.77    0.002699           5       516           uname
  0.73    0.002573           5       516           getsockname
  0.05    0.000163          13        13         4 futex
  0.01    0.000050           7         7           write
  0.01    0.000039          39         1           restart_syscall
  0.00    0.000016          16         1           brk
------ ----------- ----------- --------- --------- ----------------
100.00    0.351794                 47060     10401 total
Valera commented 4 years ago

I have the same problem on Ubuntu 19.10. Anyone have any ideas what causes it?

Valera commented 4 years ago

Got it. App starts with hidden windows and acive icon in system bar, but the icon in system bar is transparent. If you can find it, menus and windows work.