Giter Site home page Giter Site logo

todour's People

Contributors

gaetandc avatar redwil avatar shawnaxsom avatar sverrirvalgeirsson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

todour's Issues

Minimize to Tray

I would appreciate if you add an option to minimize/close Todour to system tray in settings, check-boxes:

  • Minimize to tray
  • Close to tray

If you implement such an option you may add to tray commands- right-click on Todour tray icon:

  • Open
  • Exit

For me such an option would be useful because I use lots of programs and my task bar gets easily cluttered. So I would prefer Todour to be hidden in tray.

Closing input window closes entire application on windows when minimized

There is an annoying issue that would be easy to fix. Running on windows.

When i have the application minimized to just an icon in the notifcation area (not as an application in the task bar) and i create a new task using CTRL-ALT-T the todo input screen pops up. When i close this, the whole program closes and i have to restart Todour.

If i however leave the main application windows open (on the taskbar) this doesnt occur.

So i assume that when i close the Todo input box your program thinks its the last active window and exits the application.

(https://nerdur.com/todour-pl/#comment-103220)

Improved undo support

Hi - I'm enjoying using Todour but a few times already I've accidentally overwritten a todo and wished there was a way to undo my last change. Thanks!

How to run the app?

I installed Todour-v2.20.deb on Kubuntu 20.04. No issues with that. But how do I run it? It doesn't appear in the list of installed programs, bash doesn't recognize the command "todour", and I can't find the installation location.

How to install on 64 bit Ubuntu?

I can't figure out how to install this on a 64 bit Ubuntu machine. Looks like there might be an issue with the libqt5core5a:i386 dependency? I'm not sure.

❯ sudo dpkg -i ./Downloads/Todour-v2.18.deb
Selecting previously unselected package todour:i386.
(Reading database ... 279252 files and directories currently installed.)
Preparing to unpack ./Downloads/Todour-v2.18.deb ...
Unpacking todour:i386 (2.18) ...
dpkg: dependency problems prevent configuration of todour:i386:
 todour:i386 depends on libqt5core5a.
 todour:i386 depends on libqt5gui5.
 todour:i386 depends on libqt5widgets5.
 todour:i386 depends on libxcb-keysyms1.

dpkg: error processing package todour:i386 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 todour:i386
❯ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies...Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) todour:i386 < 2.18 @iU mK Nb Ib >
Broken todour:i386 Depends on libqt5core5a:i386 < none | 5.9.5+dfsg-0ubuntu2.5 @un uH >
  Considering libqt5core5a:i386 1 as a solution to todour:i386 -2
  Removing todour:i386 rather than change libqt5core5a:i386
Done
 Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following packages will be REMOVED:
  todour:i386
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]

Text colour doesn't change according to light/dark mode

MacOS Big Sur 11.5
I keep my system mode as auto, at daytime the text is black background is white, but in dark mode background turns black and text remains black. There isn't any way to switch between dark and light mode just for the application either.

Deb-package should describe all needed dependencies

Some user on AskUbuntu downloaded your great application and have had a problem with libraries.

Steps to reproduce:

  1. Download deb-package with wget https://nerdur.com/Todour-v2.16.deb
  2. Install deb-package with sudo apt install ./Todour-v2.16.deb on Ubuntu 18.04.2 LTS amd64
  3. Try to run the application with Todour command.

Expected results:

  • deb-package is well prepared, the dependencies are described correctly.

Actual results:

  • deb-package is poor prepared, the dependencies should be installed manually with non-intuitive way:
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install -y libc6:i386 libxcb1:i386 libxcb-keysyms1:i386 libqt5widgets5:i386

Also note, that real desktop application should have .desktop file with nice-looking icon (it is other issue to be reported).

how to compile

I tried to compile the project on linux using the qtcreator but it failed.
It would be nice to have a compile guide in the Readme.md or install.txt or something

Todour should have nice looking icon and desktop file

Steps to reproduce:

  1. Download and install Todour 2.17 on Ubuntu 18.04 LTS (version does not really matter)

    wget https://nerdur.com/Todour-v2.17.deb
    sudo apt install ./Todour-v2.17.deb
    
  2. Try to find application icon in dash.

Expected results:
Todour has nice looking icon and desktop file

Actual results:
Todour does not have icon and desktop file, the deb-package consists of one executable file:

$ dpkg -L todour 
/.
/usr
/usr/local
/usr/local/bin
/usr/local/bin/Todour

So user can call the application only by its executable name (Todour).

sort by due date

I saw mention of this in the comments section of your blog. I figured it could use its own github issue.

Officially requesting sort by due date as a feature. Not sure if it makes sense for it to be just sorted in the interface or to actually reorder the lines in the file itself.

<<QT::endl; replaced w/ << "QT::endl";

Qt compilation error on Ubuntu 20.04.

To fix I replaced <<QT::endl; with << "QT::endl"; in mainwindow.cpp and todotxt.cpp.

Also needed to install:

 sudo apt install qtchooser
 sudo apt install qt5-default
 sudo apt install qtbase5-private-dev
 sudo apt install cmake
 sudo apt install libxcb-keysyms1-dev

Problem with creation and completion dates

Hi. I am getting widespread problems with dates in the todo.txt file.

(1) If a task has a creation date, this date is NOT displayed in the task list. Why? If a task has a creation date I want to see it.

(2) A creation date can be added automatically to each new task. This works, but you can't see it as noted above.

(3) When you edit a task, any existing creation date is deleted without warning. This is serious as important information is lost.

(4) When you mark a task as complete the completion date is added to the line. But the format is wrong according to the specification. It should look like this
x (B) 2018-05-17 2018-05-15 Install shelves.

Instead I'm getting
x 2018-05-17 (B) 2018-05-15 Install shelves
with the priority sandwiched between the dates.

Could you please look into this.

Filename of icon files / newicon.ico/png -> todour.ico/png / Fedora RPM package

I have created a RPM package of Todour for Fedora Linux:

https://copr.fedorainfracloud.org/coprs/dgraef/Todour/

I think it is reasonable to change the filename of the icons:
newicon.ico -> todour.ico
newicon.png -> todour.png

With the current filename nobody knows to which application the icons belongs (in the directory where all other app icons are placed on Linux).

I'm not sure if the following dependencies (dependency placed in RPM package) for running Todour are sufficient:
Requires: qt5-qtbase >= 5.10
Requires: qt5-qtbase-gui >= 5.10
Requires: xcb-util-keysyms >= 0.4.0

For building Todour the following dependencies are ok, because Todour can be build successfully on fedorainfracloud.org:
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: qt5-qtbase-devel >= 5.10
BuildRequires: qt5-qtbase-private-devel >= 5.10
BuildRequires: xcb-util-keysyms-devel >= 0.4.0

Todour 2.19: Copy-pasting PARTS of task entry impossible.

I tried to copy-paste the "due:yyyy-mm-dd" part of a task entry into another entry but Todour apparently then pastes the whole entry from which I copied, instead of only the marked part. (Marked part of entry, used Ctrl+C to copy and Ctrl+V to paste.)

Todour 2.19: "Late" warning (red) on recurring task doesn't go away?

Now, I tested this line:

2021-02-25 Pay rent @bank due:2016-03-01 rec:+1m

It correctly went orange (warning) end of February, and red (late) on 2021-03-01. On 2021-03-01, I paid my rent and set it to "Done". It created these two tasks:

x 2021-03-01 2021-03-01 Pay rent @bank due:2016-03-01 rec:+1m
2021-03-01 Pay rent @bank due:2016-04-01 rec:+1m

I think (but am not sure) it messed up the creation date in the "completed" line.

But whats’s worse, the latter entry now stays red, even after closing and reopening Todour!
Shouldn’t it become black, and then orange and red shortly before/on the due date?

Is there a way to change the background color?

Hi Sverrir

I meant to ask this in my previous comment - but in the current version, 2.18 is there a way to change the background color? Personally I'd like to set it to the color of your text editor in the video on your site. But I don't know if there's a windows option or something that might already do this?

Todour 2.19 Font issue: Size not saved, editing tasks very difficult

On Linux Mint 20.1, I have increased the system font sizes a little because my laptop screen is quite small at 1920x1080.

Todour doesn’t respect these font sizes (menu and text are really small.

When setting the "Font size" to, say, 13, it will increase menu and settings window font sizes, but not save this. Upon next start, the fonts are really small again.

Also, Todour apparently uses the set "font size" for editing the task fields. I have specified larger fonts (Roboto Regular 13pt) for "Active" and "Inactive" and when trying to edit an entry, it shows overlapping fonts, making editing an entry almost impossible.

Example:
todour-2 19-editing

Not able to run the app

I have the Linux version and I don't know why but when I double click nothing happens
Also,

chmod a+x Todour
./Todour        
zsh: no such file or directory: ./Todour

When I run the above command it says 'no such file or directory'

Simply typing the command in terminal says 'command not found'

Todour
zsh: command not found: Todour

I also have qt5 installed.

Crashes on start (built from git)

Steps used:

git clone https://github.com/SverrirValgeirsson/Todour.git
cd Todour
git submodule init 
git submodule update 
qmake-qt5 Todour.pro
make

Run:

./Todour
fish: Job 1, './Todour' terminated by signal SIGSEGV (Address boundary error)

Todour 2.19: Editing tasks deletes creation date

I have set
[x] Add dates to lines
[ ] Show dates

Dates aren’t shown in the GUI (correct).
When creating a new task, a date gets added in the file (correct).
But when editing an existing entry, the creation date is REMOVED in the file!

Crash on task completion by keyboard

Hi,

Todour is crashed on task completion by keyboard.

Test case:

  • create task "task to reproduce issue with crash"
  • mark it as completed via keyboard, i.e. set focus on checkbox and press space button.

Backtrace:

(lldb) bt
* thread #1, name = 'todour', stop reason = signal SIGBUS
  * frame #0: 0x00000008268330c3 libQt5Core.so.5`QSortFilterProxyModel::parent(QModelIndex const&) const [inlined] QSortFilterProxyModelPrivate::index_to_iterator(this=0x000000083c8ea640, proxy_index=0x00000008204b50b8) const at qsortfilterproxymodel.cpp:328:9
    frame #1: 0x00000008268330ab libQt5Core.so.5`QSortFilterProxyModel::parent(this=0x000000083c8b3aa0, child=0x00000008204b50b8) const at qsortfilterproxymodel.cpp:2217:38
    frame #2: 0x0000000822f91d03 libQt5Widgets.so.5`QTableView::visualRect(QModelIndex const&) const [inlined] QModelIndex::parent(this=0x00000008204b50b8) const at qabstractitemmodel.h:443:17
    frame #3: 0x0000000822f91cf1 libQt5Widgets.so.5`QTableView::visualRect(this=0x0000000866cdd9d0, index=0x00000008204b50b8) const at qtableview.cpp:2775:42
    frame #4: 0x0000000822f37a5d libQt5Widgets.so.5`QAbstractItemView::edit(QModelIndex const&, QAbstractItemView::EditTrigger, QEvent*) at qabstractitemview.cpp:3306:28
    frame #5: 0x0000000822f37a22 libQt5Widgets.so.5`QAbstractItemView::edit(this=0x0000000866cdd9d0, index=0x00000008204b50b8, trigger=AnyKeyPressed, event=<unavailable>) at qabstractitemview.cpp:2670:9
    frame #6: 0x0000000822f36938 libQt5Widgets.so.5`QAbstractItemView::keyPressEvent(this=0x0000000866cdd9d0, event=0x00000008204b56f8) at qabstractitemview.cpp:2445:14
    frame #7: 0x0000000822cf4e67 libQt5Widgets.so.5`QWidget::event(this=0x0000000866cdd9d0, event=0x00000008204b56f8) at qwidget.cpp:8692:9
    frame #8: 0x0000000822d9a7cb libQt5Widgets.so.5`QFrame::event(this=0x0000000866cdd9d0, e=0x00000008204b56f8) at qframe.cpp:550:28
    frame #9: 0x0000000822f32bfd libQt5Widgets.so.5`QAbstractItemView::event(this=0x0000000866cdd9d0, event=0x00000008204b56f8) at qabstractitemview.cpp:1675:33
    frame #10: 0x0000000822cba45e libQt5Widgets.so.5`QApplicationPrivate::notify_helper(this=0x000000083c847000, receiver=0x0000000866cdd9d0, e=0x00000008204b56f8) at qapplication.cpp:3637:26
    frame #11: 0x0000000822cbbcfc libQt5Widgets.so.5`QApplication::notify(this=<unavailable>, receiver=0x0000000866cdd9d0, e=0x00000008204b56f8) at qapplication.cpp:2999:26
    frame #12: 0x0000000826858b82 libQt5Core.so.5`QCoreApplication::notifyInternal2(receiver=0x0000000866cdd9d0, event=0x00000008204b56f8) at qcoreapplication.cpp:1064:18
    frame #13: 0x0000000822d13a3b libQt5Widgets.so.5`QWidgetWindow::event(this=0x0000000866ca6a60, event=0x00000008204b56f8) at qwidgetwindow.cpp:293:9
    frame #14: 0x0000000822cba45e libQt5Widgets.so.5`QApplicationPrivate::notify_helper(this=0x000000083c847000, receiver=0x0000000866ca6a60, e=0x00000008204b56f8) at qapplication.cpp:3637:26
    frame #15: 0x0000000822cbba5c libQt5Widgets.so.5`QApplication::notify(this=0x00000008204b5aa0, receiver=0x0000000866ca6a60, e=0x00000008204b56f8) at qapplication.cpp:0
    frame #16: 0x0000000826858b82 libQt5Core.so.5`QCoreApplication::notifyInternal2(receiver=0x0000000866ca6a60, event=0x00000008204b56f8) at qcoreapplication.cpp:1064:18
    frame #17: 0x0000000821443075 libQt5Gui.so.5`QGuiApplicationPrivate::processKeyEvent(e=0x0000000866d22d20) at qguiapplication.cpp:2414:9
    frame #18: 0x000000082142667c libQt5Gui.so.5`QWindowSystemInterface::sendWindowSystemEvents(flags=(i = 36)) at qwindowsysteminterface.cpp:1169:13
    frame #19: 0x000000084261fe8f libQt5XcbQpa.so.5`xcbSourceDispatch(source=<unavailable>, (null)=<unavailable>, (null)=<unavailable>)(void*), void*) at qxcbeventdispatcher.cpp:105:5
    frame #20: 0x0000000830450874 libglib-2.0.so.0`g_main_context_dispatch at gmain.c:3444:27
    frame #21: 0x0000000830450735 libglib-2.0.so.0`g_main_context_dispatch(context=0x00000008525fb0c0) at gmain.c:4162:7
    frame #22: 0x0000000830450c04 libglib-2.0.so.0`g_main_context_iterate(context=0x00000008525fb0c0, block=1, dispatch=1, self=<unavailable>) at gmain.c:4238:5
    frame #23: 0x0000000830450cc8 libglib-2.0.so.0`g_main_context_iteration(context=0x00000008525fb0c0, may_block=1) at gmain.c:4303:12
    frame #24: 0x00000008268b1660 libQt5Core.so.5`QEventDispatcherGlib::processEvents(this=0x000000083c81a3c0, flags=<unavailable>) at qeventdispatcher_glib.cpp:423:19
    frame #25: 0x0000000826854e75 libQt5Core.so.5`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined] QEventLoop::processEvents(this=0x00000008204b5998, flags=(i = 36)) at qeventloop.cpp:139:55
    frame #26: 0x0000000826854e58 libQt5Core.so.5`QEventLoop::exec(this=0x00000008204b5998, flags=(i = 0)) at qeventloop.cpp:232:9
    frame #27: 0x000000082685925e libQt5Core.so.5`QCoreApplication::exec() at qcoreapplication.cpp:1375:32
    frame #28: 0x0000000000253dc4 todour`main + 196
    frame #29: 0x000000000024e420 todour`_start + 256

OS: FreeBSD 14, qt5-core-5.15.5p165_2

Exclude rule doesn't work

I have tasks tagged with @other.

If I search for -@other, it doesn't return anything. It should return all tasks that don't contain @other.

Portable Mode

No matter that I start Todour using the following parameter:

Todour.exe -portable

or using the shortcut in program folder:

Todour-portable

Todour still creates an empty key in Windows registry:

HKEY_CURRENT_USER\Software\Nerdur\Todour

In my opinion a truly portable version should not touch Windows registry at all.

Segmentation fault (core dumped)

Hi Sverrir.

Currently I am using Todour version 2.161 in Manjaro Linux, but I am trying to upgrade to version 1.71, as the new version is not available in Manjaro or Arch repositories (Manjaro is based upon it).

So, I've downloaded the source code and compiled it following your guidance from the main page. I received a warning about Qt versions before compiling it:

Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version.
Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point.
Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned!

The new version worked fine, however when I close Todour I receive a message of Segmentation fault (core dumped) at the terminal.

Can you please help me with the problem?

Thanks,
Richard

Updated to vsn 2.2 won't add or edit tasks

Recently I updated from vsn 2.06 to latest 2.20 without considering whether there had been any significant changes to todo.txt?

Previously/currently resided in (Users)\Dropbox\todo and checked across PC and Samsung Note 8 using Simpletask which will add or delete tasks but nothing happens in Win 10 vsn 2.20 - can't edit existing, create or delete?

Any thoughts?

Feature: Business days (b) settable: Mon-Fri or Mon-Sat

I just ran across a problem that might affect several countries or different areas of work: Business days are sometimes (most often) Monday thru Friday, sometimes Monday thru Saturday.

Would you consider a program setting for this? Like maybe

Business days: Mon-Fri | Mon-Sat

Option "Show All" should unhide all the thresholded tasks

I uncheck the option "Treat threshold as inactive". So all thresholded lines are hidden.
Sometimes I'd like to make a check of all tasks, and I select the "Show All" checkbox.

But it shows all the deleted items (OK) and not the thresholded items. I think it could be good to actually show ALL (and not a part of all)

[question] date format

Hi!

New user here and I think this app is great. Just wondering: is it at all possible to have the program show a different date format (e.g. my local one is 05/02/2020 for 5th Feb 2020) ? I read the todo.txt repo and nothing emphasised that we Can't use another date format so was wondering if chanding formats could be considered at all ? Thanks!

Todour 2.19: Does `rec:` require `due:`?

In my todo.txt, I have a line

2021-03-01 Check Todour issues @github rec:1w

When trying to click [ ] Done, it does nothing (doesn’t get checked, no new entry created).

EDIT: It actually does create new entries in todo.txt, with exactly the same content, but never shows the "done" entries until the next refresh.

So my question is: Is a due: date required for rec: to work?

As I understood, from other todo.txt apps, rec: should work from a due: date if given, otherwise simply use the creation date. It should be ignored (but still be able to be set to "Done") if none of both are given. Am I wrong here?

EDIT: The Markor app on my Android phone will set this task to "Done" (put an x 2021-03-01 in front of the line) and also not create a new entry. (Seems rec: isn’t yet supported.)

My current Todour settings:
todour-2 19-settings

Quit

If 'Tray' is enabled and program window is open in order to exit Todour one needs to send it to tray, then right-click on tray icon and then execute 'Quit' command- 3 clicks. To avoid sending Todour to tray to exit it from tray 'Quit' command you may add 'Quit' command in Menu bar, perhaps under 'Settings':

  • File
    • Settings
    • Quit

Thus the user would be able to exit the program from program window when 'Tray' is enabled without the need to send it to tray first. I suppose this will be very easy to be implemented.

Archived finished tasks are saved on the .txt file, but not disappearing.

I'm trying to figure out if my settings are wrong or if it's a bug, because on the video on the website, the finished tasks disappear after clicking the archive button.

I'm using Todour version 2.21 and here are some more details that might help:

OS: ArcoLinux
Kernel: 5.18.7-arch-1
DE: Plasma 5.25.2
WM:KWin

Thanks.

Request Tag Bar

HI!

It would be great to have a Tag Bar , instead to rely on always on search ...
Or better like in other app (wich otherwise dont like ;-) ) you may use the tags as filters, so when you pick a tag its select all te task with that tag.

Great app !

PS: Sorry about my english

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.