https://bugs.kde.org/show_bug.cgi?id=470750

Thomas Fischer <fisc...@unix-ag.uni-kl.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|f144df19d6fd2b2f5b5a22a6ebd |https://invent.kde.org/offi
                   |c3380f3edbd88               |ce/kbibtex/-/commit/ebbfbf9
                   |                            |f94d8bd4564642460722fadfc2d
                   |                            |cf43dd
         Resolution|WAITINGFORINFO              |FIXED

--- Comment #3 from Thomas Fischer <fisc...@unix-ag.uni-kl.de> ---
Git commit ebbfbf9f94d8bd4564642460722fadfc2dcf43dd by Thomas Fischer.
Committed on 03/12/2023 at 21:15.
Pushed by thomasfischer into branch 'kbibtex/0.10'.

Check if 'View Document' should be enabled more often

Previously, the enable status menu item 'View Document' and list of
associated documents got updated when the entry selection got changed,
i.e. a different entry got selected from the list.
This did not take into account the possibility that a file that can be
associated with an entry becomes available only after selecting an
entry. There is a user-reported use case when using git-annex.

This commit address the issue in the following two ways:
1. A window shortcut (QShortcut) with the same key sequence (Ctrl+D) got
   added, but it is disabled by default, gets enabled when the 'View
   Document' menu item disabled and vice versa. Activating this shortcut
   will first update and possibly enable the 'View Document' action and
   then trigger the original 'view document' code of the 'View Document'
   action. This is transparent to the user.
2. Whenever the context menu on top of an entry in the main list is
   opened, the 'View Document' menu will get updated and enabled if
   files to open got located that were not available earlier.
FIXED-IN: 0.10.1

M  +1    -0    ChangeLog
M  +6    -1    src/gui/file/fileview.cpp
M  +3    -1    src/gui/file/fileview.h
M  +37   -10   src/parts/part.cpp

https://invent.kde.org/office/kbibtex/-/commit/ebbfbf9f94d8bd4564642460722fadfc2dcf43dd

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to