GithubHelp home page GithubHelp logo

jiri-one / easydict-gtk Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 19.27 MB

The first open source translator which is completely open with dictionary data too.

Home Page: https://easydict.jiri.one

License: GNU General Public License v3.0

Python 100.00%
gtk3 gtk4 gtk4-python3 pygobject python

easydict-gtk's People

Contributors

jiri-one avatar

Stargazers

 avatar

Watchers

 avatar

easydict-gtk's Issues

Improve the new GTK4 gui

  • add About dialog
  • add Settings dialog
  • add Help dialog
  • add menu witch Exit, Setting, About and Help items
  • improve look on non dark theme desktop environments
  • add flags of language to DropDown menu
  • add subtitle "Completely open translator" to the Header
  • option icon should have our nice icon
  • hide Maximize and Minimeze button (Close button will behave like minimize button and application Exit will be only from menu)

Test of DB backend

New backend should use async variant of sqlite and for testing puposes should we use TinyDB like testing DB.

Some results are not displayed

(python:32340): Gtk-WARNING **: 09:37:29.933: Failed to set text '<b>extra risk</b> přidané riziko | [eko.] | Riziko používané u té části populace, která není zahrnuta při zjišťování pozadí výskytu (bez expozice) ER<SUB>d</SUB> = [P<SUB>d</SUB> - P<SUB>0</SUB>] / [1 - P<SUB>0</SUB>].' from markup due to error parsing markup: Unknown tag 'SUB' on line 2 char 156

better exception handling when in clipboard is not text

Traceback (most recent call last): File "/home/jiri/Workspace/EasyDict/easydict_gtk/easydict/src/handlers.py", line 52, in onClipboard if len(self.clipboard.wait_for_text().split()) == 1: # third condition is check, if in clipboard is just one word AttributeError: 'NoneType' object has no attribute 'split' Traceback (most recent call last): File "/home/jiri/Workspace/EasyDict/easydict_gtk/easydict/src/handlers.py", line 52, in onClipboard if len(self.clipboard.wait_for_text().split()) == 1: # third condition is check, if in clipboard is just one word AttributeError: 'NoneType' object has no attribute 'split'

Add new screenshots to the README.md

Screenshots have to be upgraded to new GTK4 gui. Maybe it will be good idea to add screenshots from Windows too, because now is possible to run EasyDict-GTK with MSYS2 directly on Windows (or WSL2 too).

Add tray icon

Previous GTK3 version has tray icon implemented with XAppStatusIcon and it was working only on version from PyPi or source code, Flatpak version was without tray icon support.
New GTK4 version should have complete tray icon support. Easiest solution is to use pystray, but, at least on linux, it will be nice to use own solution with will rely on dbus. I have done some research how to do it on repository kstatusnotifier_sdbus and that is working solution for tray icon, but there is missing tray icon menu (dbusmenu). Some solutions, how to implement dbusmenu are on github - https://github.com/amnore/driveicon/blob/c43adfdfb13138f903e19f5bbd61225ac3fbd3fa/driveicon/trayicon.py or https://github.com/MMS-Projects/copyit-app/blob/bd82e19d93e5c65185d55f6328557febb0cdf0c2/desktop/res/scripts/desktop-integration.py . So should be possible to combine those code sources and make one functional solution.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.