Restore previous tabbar look
ClosedPublic

Authored by mglb on Dec 15 2018, 5:20 PM.

Details

Summary

New tabbar implementation (accidentally?) added small margin between
terminal and tabbar's bottom separating line. This patch removes the
margin.

Comparison:

Depends on D17605

Test Plan

Tested with default style and custom stylesheet

Diff Detail

Repository
R319 Konsole
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mglb requested review of this revision.Dec 15 2018, 5:20 PM
mglb created this revision.
mglb updated this revision to Diff 47629.Dec 15 2018, 5:22 PM

Remove redundant argument from setCss()

What would be the result if the cás was replaced by serDocumentMode(true); ?

Em sáb, 15 de dez de 2018 às 18:23, Mariusz Glebocki <
noreply@phabricator.kde.org> escreveu:

mglb updated this revision to Diff 47629.
mglb added a comment. View Revision https://phabricator.kde.org/D17607

Remove redundant argument from setCss()

*CHANGES SINCE LAST UPDATE*
https://phabricator.kde.org/D17607?vs=47628&id=47629

*BRANCH*
arc/Restore-previous-tabbar-look (branched from master)

*REVISION DETAIL*
https://phabricator.kde.org/D17607

*AFFECTED FILES*
src/ViewContainer.cpp
src/ViewContainer.h

*To: *mglb, Konsole, VDG
*Cc: *konsole-devel, thsurrel, ngraham, maximilianocuria, hindenburg

mglb added a comment.Dec 15 2018, 5:56 PM

There is setDocumentMode(true); in constructor already. I didn't find any non-css way to remove it.

tcanabrava accepted this revision.Dec 15 2018, 6:10 PM
This revision is now accepted and ready to land.Dec 15 2018, 6:10 PM
abetts added a subscriber: abetts.Dec 15 2018, 6:48 PM

Not sure, what seems to be the main issue?

mglb added a comment.Dec 15 2018, 7:03 PM

Not sure, what seems to be the main issue?

2px more below tabbar and 1px above ("current" screenshot).

ndavis accepted this revision.Dec 15 2018, 7:17 PM
ndavis added a subscriber: ndavis.

+1, the seamless look we had is really nice

I kinda like the line, but in a way I can't really explain, and not enough to object to this patch. :)

I kinda like the line, but in a way I can't really explain, and not enough to object to this patch. :)

There's still a line, there's just no margin. It looks especially good with Breeze Dark:

I have (also) always trouble to see which tab is the active, at least with Dark theme. Would be nice you improve this even more.

mglb added a comment.Dec 16 2018, 12:00 AM

@loh.tar I agree this looks bad with so small (relatively) lines. But this is a thing for separate request for VDG. In the meantime, search for konsole stylesheets.

can you rebase this please?

mglb updated this revision to Diff 47676.Dec 16 2018, 4:03 PM

git rebase master

hindenburg accepted this revision.Dec 16 2018, 6:53 PM
This revision was automatically updated to reflect the committed changes.