Debian Patches

Status for rhinote/0.7.4-7

Patch Description Author Forwarded Bugs Origin Last update
Port-to-Python-3.patch Port to Python 3
Python 2 is going to be EOL soon, so we need to use the current
version of the language going forward; thankfully, getting the
application to run on Python 3 only requires tweaking a couple
of imports.
Andrea Bolognani <eof@kiyuko.org> not-needed 2019-12-07
Simplify-imports.patch Simplify imports
Importing a whole module using a wildcard is frowned upon, and it
confuses static analysis tools such as pyflakes.
Andrea Bolognani <eof@kiyuko.org> not-needed 2012-01-30
Fix-flake8-warnings.patch Fix flake8 warnings
The only remaining issues reported by the tool are

rhinote.py:59:80: E501 line too long (81 > 79 characters)
rhinote.py:69:80: E501 line too long (83 > 79 characters)

but I think addressing them would actually make the code less
readable, so I decided not to.
Andrea Bolognani <eof@kiyuko.org> not-needed 2019-12-07
Make-sure-external-commands-are-available.patch Make sure external commands are available
External commands are not guaranteed to be available on the
system, so test for their existence before running them.
Andrea Bolognani <eof@kiyuko.org> not-needed 2012-02-01
Call-external-commands-via-Popen.patch Call external commands via Popen
Use the subprocess.Popen() method instead on relying on the less
secure os.system() method when calling external commands.

This also allows us to stop using an insecure temporary file and
notify the user if printing failed.
Andrea Bolognani <eof@kiyuko.org> not-needed 2012-02-01
Support-lp-along-with-lpr-for-printing.patch Support lp along with lpr for printing
The original printing implementation only supports the lpr
command; this patch add support for printing with lp as well.

If available, lp is preferred.
Andrea Bolognani <eof@kiyuko.org> not-needed 2012-02-01
Set-print-job-name.patch Set print job name
When printing from standard input, the job name defaults to
"stdin".

This patch adds some parameters to the lp/lpr call to provide
the user with a more descriptive name.
Andrea Bolognani <eof@kiyuko.org> not-needed 2012-02-01
Set-class-name.patch Set class name
The default class name for Tk application is "Tk".

This patch sets it to "Rhinote", so the correct application name
is displayed in such places as the GNOME Shell top bar.
Andrea Bolognani <eof@kiyuko.org> not-needed 2012-02-01
Fix-window-title.patch Fix window title
After loading or saving a file, the window title is updated to
show its path; in one situation, however, a spurious closing
parenthesis would show up as well.
Andrea Bolognani <eof@kiyuko.org> not-needed 2019-12-08
Fix-description-for-undo-keybinding.patch Fix description for undo keybinding
Be consistent with the rest of the help dialog.
Andrea Bolognani <eof@kiyuko.org> not-needed 2026-08-28
Factor-out-duplicated-code.patch Factor out duplicated code Andrea Bolognani <eof@kiyuko.org> not-needed 2026-08-27
Set-parent-for-dialogs.patch Set parent for dialogs
This ensures that the window manager will position them
appropriately, both in term of x/y coordinates and in term
of placement within the window stack.
Andrea Bolognani <eof@kiyuko.org> not-needed 2026-08-27
Improve-file-selection-behavior.patch Improve file selection behavior
If the file selection operation is cancelled, either by
clicking the corresponding button or pressing the escape key,
the file selection dialogs are documented to return a value
that evaluates to False, not necessarily the empty string.

Additionally, a cancelled file selection operation should not
overwrite the filename currently associated with a note.
Andrea Bolognani <eof@kiyuko.org> not-needed 2026-08-27
Strip-trailing-newline-when-loading-files.patch Strip trailing newline when loading files
If this is not done, the text area will end up with an
additional newline that was not in the original file, which
means that repeatedly loading and saving the same note will
cause it to grow larger and larger over time.
Andrea Bolognani <eof@kiyuko.org> not-needed 2026-08-28
Prevent-default-callbacks-from-running.patch Prevent default callbacks from running
Some of the key combinations that are used for Rhinote actions
have a default callback assigned to them: a notable example of
this is Ctrl+o, which by default adds an empty line to the
bottom of the text area.

Returning the string "break" from our callbacks ensures that
the default ones do not get invoked, avoiding this kind of
unintentional interaction.
Andrea Bolognani <eof@kiyuko.org> not-needed 2026-08-28
Add-centralized-helper-for-resetting-status.patch Add centralized helper for resetting status
This is called both after loading a note from file and when
saving one to file. It simply sets the window title for now,
but will perform additional tasks later.
Andrea Bolognani <eof@kiyuko.org> not-needed 2026-08-27
Track-modified-status.patch Track modified status
Keep track of whether the note has been modified since being
loaded from file or saved to file. A note that contains
unsaved changes is very visibly marked as such by displaying
an asterisk in the window title.
Andrea Bolognani <eof@kiyuko.org> not-needed 2026-08-28
Ask-for-confirmation-before-discarding-unsaved-changes.patch Ask for confirmation before discarding unsaved changes
Up until now it was all too easy to accidentally lose work,
which has been a recurring complaint from user. This should
make things a lot better in that regard.
Andrea Bolognani <eof@kiyuko.org> not-needed 2026-08-28
Disable-save-confirmation-dialog.patch Disable save confirmation dialog
Now that the window title clearly communicates whether or not
the note contains unsaved changes, and confirmation is required
before discarding them, this dialog feels unnecessary.
Andrea Bolognani <eof@kiyuko.org> not-needed 2026-08-28
Clear-undo-history-on-file-load.patch Clear undo history on file load
Being able to go back further than the initial state of
the note is confusing, so it's better to prevent that from
happening.
Andrea Bolognani <eof@kiyuko.org> not-needed 2026-08-28
Tweak-window-title.patch Tweak window title
Display only the last component of the filename instead of
the full path, and place it before the application name.

This ensures that the most important bits of information are
displayed first, where they can be parsed at a glance.
Andrea Bolognani <eof@kiyuko.org> not-needed 2026-08-28
Modernize-keybindings.patch Modernize keybindings
Reacting the same way to both uppercase and lowercase letters
is very uncommon and likely unexpected for the average user,
so get rid of that behavior.

More importantly, replace Ctrl+a with Ctrl+Shift+s as the
shortcut for "save as". The former is most commonly used for
"select all" instead.
Andrea Bolognani <eof@kiyuko.org> not-needed 2026-08-28
Implement-keybinding-for-select-all.patch Implement keybinding for "select all"
This is not implemented out of the box by tkinter.Text but
it's commonly expected behavior.
Andrea Bolognani <eof@kiyuko.org> not-needed 2026-08-28

All known versions for source package 'rhinote'

Links