Bug 497747 - [Feature request] Shortened or multi-line channel names
Summary: [Feature request] Shortened or multi-line channel names
Status: RESOLVED FIXED
Alias: None
Product: Telly Skout
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-21 12:44 UTC by Ralf
Modified: 2024-12-21 14:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 24.12.1
Sentry Crash Report:


Attachments
Length of the channel names (430.21 KB, image/png)
2024-12-21 12:44 UTC, Ralf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf 2024-12-21 12:44:57 UTC
Created attachment 176802 [details]
Length of the channel names

Hi,

unfortunately, channels with long names become illegible. This is not a problem with my favorites, as these channels with long names are not really favorites and almost all other channel names are otherwise very easy to read. So for me it's just an insignificant beauty problem, but I still wanted to mention it.

Concerns Telly Skout build from git 631dce6a396d74d8f083537a91c7919d93e16cc5 as well as Telly Skout 24.12.0 and 24.08.3.

So far, the following settings seem to me to give the best overview of a large part of the programs and at the same time be easy to read.

Program height: 5px/min
Column width: 90px
Font size: 12px

Normally Telly Scout is opened with geometry 1920x1024, so that it only leaves space for the panel and otherwise takes up the whole screen, to compare which font sizes I otherwise prefer, I have now resized the window and opened my applications menu.

Regards,
Ralf
Comment 1 Bug Janitor Service 2024-12-21 13:25:09 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/telly-skout/-/merge_requests/185
Comment 2 Plata 2024-12-21 13:27:25 UTC
Git commit be60dc36b8cd665c3278cea66f98725fbaf1b425 by Plata Hill.
Committed on 21/12/2024 at 13:27.
Pushed by plata into branch 'master'.

"Favorites" page: wrap header

If the channel name didn't fit in the header, it would overlap the header of the next channel:

![before](/uploads/55ecb395205b80030c4cf5d3c473fd64/image.png){width=146 height=28}

Wrap the channel name:

![after](/uploads/3d07b6843da13faff47eed41935949c1/image.png){width=129 height=45}

FIXED-IN: 24.12.1

M  +2    -1    src/qml/ChannelTablePage.qml

https://invent.kde.org/utilities/telly-skout/-/commit/be60dc36b8cd665c3278cea66f98725fbaf1b425
Comment 3 Plata 2024-12-21 13:29:26 UTC
Git commit 075e0db981fc16272095b1bc34387f59852a7fc7 by Plata Hill.
Committed on 21/12/2024 at 13:29.
Pushed by plata into branch 'release/24.12'.

"Favorites" page: wrap header

If the channel name didn't fit in the header, it would overlap the header of the next channel:

![before](/uploads/55ecb395205b80030c4cf5d3c473fd64/image.png){width=146 height=28}

Wrap the channel name:

![after](/uploads/3d07b6843da13faff47eed41935949c1/image.png){width=129 height=45}

FIXED-IN: 24.12.1

M  +2    -1    src/qml/ChannelTablePage.qml

https://invent.kde.org/utilities/telly-skout/-/commit/075e0db981fc16272095b1bc34387f59852a7fc7
Comment 4 Ralf 2024-12-21 14:05:35 UTC
Excellent! Thank you!

I have now rewritten the PKGBUILD to an almost completely clean PKGBUILD. It now always automatically builds the latest commit of the branch release/24.12, and removes the "v" before the version number. Most of it is still retained from the official PKGBUILD. To upload it to the AUR, however, the package would have to be renamed to telly-skout-git, which I don't want for myself, so that I always see the version of the official package when updating. It was not tested in a clean chroot.

Regards,
Ralf

$ sudo pacman -Syu
[snip]
warning: telly-skout: local (24.12.0.r10.g075e0db-1) is newer than extra (24.12.0-1)
 there is nothing to do

$ cat /usr/src/telly-skout/PKGBUILD
pkgname=telly-skout
pkgver=24.12.0.r10.g075e0db
pkgrel=1
pkgdesc='Convergent TV guide based on Kirigami'
url='https://apps.kde.org/telly-skout/'
arch=(x86_64)
license=(GPL-2.0-or-later LGPL-2.0-or-later)
depends=(gcc-libs
         glibc
         kconfig
         kcoreaddons
         kcrash
         ki18n
         kirigami-addons
         kirigami
         qqc2-desktop-style
         qt6-base
         qt6-declarative)
makedepends=(git
             extra-cmake-modules)
groups=(kde-applications
        kde-utilities)
source=(telly-skout::git+https://invent.kde.org/utilities/telly-skout#branch=release/24.12)
sha256sums=('SKIP')
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck@kde.org>
              D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker@kde.org>

pkgver() {
  cd "$pkgname"
  git describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cmake -B build -S $pkgname \
    -DBUILD_TESTING=OFF
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}$ cat /usr/src/telly-skout/PKGBUILD
pkgname=telly-skout
pkgver=24.12.0.r10.g075e0db
pkgrel=1
pkgdesc='Convergent TV guide based on Kirigami'
url='https://apps.kde.org/telly-skout/'
arch=(x86_64)
license=(GPL-2.0-or-later LGPL-2.0-or-later)
depends=(gcc-libs
         glibc
         kconfig
         kcoreaddons
         kcrash
         ki18n
         kirigami-addons
         kirigami
         qqc2-desktop-style
         qt6-base
         qt6-declarative)
makedepends=(git
             extra-cmake-modules)
groups=(kde-applications
        kde-utilities)
source=(telly-skout::git+https://invent.kde.org/utilities/telly-skout#branch=release/24.12)
sha256sums=('SKIP')
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck@kde.org>
              D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker@kde.org>

pkgver() {
  cd "$pkgname"
  git describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cmake -B build -S $pkgname \
    -DBUILD_TESTING=OFF
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}