Bug 467411 - [Feature] Navigate through images when viewing image
Summary: [Feature] Navigate through images when viewing image
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-15 17:48 UTC by Nicolas Fella
Modified: 2023-07-08 11:07 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Fella 2023-03-15 17:48:48 UTC
Neochat allows to display a single image from the timeline "fullscreen". However it doesn't allow to navigate to the next/previous image in the timeline, e.g. by pressing the left/right arrow key.

Other chat clients typcially allow that, and it's very handy for e.g. comparing two images, or just browsing through all images
Comment 1 Tobias Fella 2023-07-08 11:07:11 UTC
Git commit c55b40c9c6515a5af8f535a610f1067d4d758864 by Tobias Fella, on behalf of James Graham.
Committed on 08/07/2023 at 11:07.
Pushed by tfella into branch 'master'.

Media Model

Create a media model for all the media message in the timeline and then setup `NeoChatMaximizeComponent` so that it can use the media model to scroll through all loaded images and video in the current room.

Depends upon libraries/kirigami-addons!105

M  +1    -0    src/CMakeLists.txt
M  +2    -0    src/main.cpp
M  +1    -0    src/models/collapsestateproxymodel.h
A  +79   -0    src/models/mediamessagefiltermodel.cpp     [License: LGPL(3+eV) GPL(v3.0) GPL(v2.0)]
A  +56   -0    src/models/mediamessagefiltermodel.h     [License: LGPL(3+eV) GPL(v3.0) GPL(v2.0)]
M  +1    -1    src/models/messageeventmodel.cpp
M  +44   -36   src/qml/Component/NeochatMaximizeComponent.qml
M  +1    -23   src/qml/Component/Timeline/ImageDelegate.qml
M  +3    -3    src/qml/Component/Timeline/TimelineContainer.qml
M  +1    -21   src/qml/Component/Timeline/VideoDelegate.qml
M  +28   -4    src/qml/Component/TimelineView.qml

https://invent.kde.org/network/neochat/-/commit/c55b40c9c6515a5af8f535a610f1067d4d758864