Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double tree does not show diff anymore #685

Closed
thehrlein opened this issue Jan 18, 2024 · 7 comments
Closed

Double tree does not show diff anymore #685

thehrlein opened this issue Jan 18, 2024 · 7 comments

Comments

@thehrlein
Copy link

I was using gittyup for a while without any issue, but since 2 days I am missing the diff window. I am using Double Tree View and only see stages files and unstaged files, but I don't see any change that was made in the files

How can I bring back the window to see the changes in the file?

@Murmele
Copy link
Owner

Murmele commented Jan 18, 2024

Hi,
can you show how it looks now?

@thehrlein
Copy link
Author

Bildschirmfoto 2024-01-18 um 15 01 31

@Murmele
Copy link
Owner

Murmele commented Jan 19, 2024

I think it is just hidden. Which version are you using? Can you update to the latest stable release? There something is implemented so that this cannot happen.

Which OS are you using?
If this did not help, you have to delete the config file then it should appear again

QSplitter *splitter = new QSplitter(Qt::Horizontal, this);
splitter->setHandleWidth(0);
splitter->addWidget(fileView);
splitter->addWidget(treeViewSplitter);
splitter->setStretchFactor(0, 3);
splitter->setStretchFactor(1, 1);
// prevent that diffview will be collapsed
// The problem is that the diffview is between two splitters
// and if the diffview is collapsed only the splitter of the
// commitlist is visible and is is not possible to get the
// diffview visible again.
splitter->setCollapsible(0, false);
connect(splitter, &QSplitter::splitterMoved, this, [splitter] {
QSettings().setValue(kSplitterKey, splitter->saveState());

@thehrlein
Copy link
Author

PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Version: v1.3.0 - 2023-04-20

Where do I find the config?

@Murmele
Copy link
Owner

Murmele commented Jan 23, 2024

Can you install once the development version? I have to check if the fix is only in the dev version or also in the stable.

@thehrlein
Copy link
Author

Installed the development version (flatpak) and with this I see the diff window again :)

@Murmele
Copy link
Owner

Murmele commented Jan 23, 2024

Great. :) then the fix was introduced after 1.3.0 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants