View Issue Details

IDProjectCategoryView StatusLast Update
0017335ScribusUser Interfacepublic2024-12-14 11:07
Reporterale Assigned Tonitramr  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Product Version1.7.0.svn 
Fixed in Version1.7.0.svn 
Summary0017335: A "last" cosmetic wish: update the progress mark and the page selected highlighting
Descriptionthanks to martin's work, during the last few years the scribus UI has dramatically improved.

of course, the jurney is not over yet, but there are two "small" things that i'd like to see tweaked in the default view of scribus, and it would be nice if they could get in before the next stable is released.

in my eyes, the page selection marker in the "Document Pages" palette is too visible:
since that palette is now shown by default in the left docking area, i'd like a more discrete tone.

i'm not sure that red (warning, error) is the good color for it.
but we use red in a lot of other contexts already, as an example in the text properties, so i'm fine with keeping it red (for now).

the second one is the the blue progress bar in the lower right corner: after the whole UI overhaul, it's very visible!
on the one side, scribus might reset it to zero after some time that it has been at 100%.
i'm not sure if that is easy to do.
at a minimum, i'd wish a color that better matches the overall new color scheme of scribus.
in the past, that blue somehow matched the green arrows in the status bar.
nowadays, that blue just sticks out, without giving any information to the user!

voilĂ , just some minor nitpicks... but they might be small details that are easy to fix.
TagsNo tags attached.
PatchNo

Activities

ale

2024-12-13 08:48

manager  

a-comsetic-whish.png (82,423 bytes)   
a-comsetic-whish.png (82,423 bytes)   

ale

2024-12-13 09:10

manager   ~0051722

using the same red line as for the current page on the "desktop" might be a good choice...

(as you see in the screenshot, there is a bug: under some circumstances, scribus stops displaying the marker for the current page. sadly, i cannot really find out how to reproduce it.)

nitramr

2024-12-13 11:56

developer   ~0051723

Hi ale,

the color of the selected page in page preview widget based on "Selected Page Border" color from Preferences -> Display -> Colors.
At the moment, you can change that via settings, but you have to restart Scribus to apply the new color. The patch apply a change where it is not necessary to restart Scribus to apply the new color.

In general I agree with you, some default colors are not great.
pageselection_2024-12-13_01.patch (2,035 bytes)   
Index: scribus/ui/pagepalette_pages.cpp
===================================================================
--- scribus/ui/pagepalette_pages.cpp	(Revision 26480)
+++ scribus/ui/pagepalette_pages.cpp	(Arbeitskopie)
@@ -25,6 +25,7 @@
 #include "ui/widgets/pagelayout.h"
 #include "pagepalette_pages.h"
 #include "pagepalette_widgets.h"
+#include "prefsmanager.h"
 #include "qobjectdefs.h"
 #include "scpage.h"
 #include "scribusapp.h"
@@ -445,6 +446,11 @@
 
 	currView = view;
 
+	if (currView == nullptr)
+		return;
+
+	pageViewWidget->pageGrid()->setSelectionColor(PrefsManager::instance().appPrefs.displayPrefs.pageBorderColor);
+
 //	if (currView)
 //		connect(currView->m_doc, SIGNAL(pagePreviewChanged()), this, SLOT(updatePagePreview()));
 
Index: scribus/ui/pagepalette_widgets.cpp
===================================================================
--- scribus/ui/pagepalette_widgets.cpp	(Revision 26480)
+++ scribus/ui/pagepalette_widgets.cpp	(Arbeitskopie)
@@ -259,23 +259,26 @@
 	m_documentPageSize = pageSize;
 }
 
-void PageGrid::setRowHeight(int height)
+void PageGrid::setRowHeight(int height)
 {
-	// clamp sizes
-	m_rowHeight = qBound(64, height, 128);
-	m_rowSpace = qBound(8, height / 8, 16);
-
+	// clamp sizes
+	m_rowHeight = qBound(64, height, 128);
+	m_rowSpace = qBound(8, height / 8, 16);
+
 	//	updateTileSize();
 	calculateSize();
 	update();
-
-	PrefsContext *prefTileSize = PrefsManager::instance().prefsFile->getContext("PagePalette");
-	prefTileSize->set("pagePreviewSize", height);
-	PrefsManager::instance().prefsFile->write();
+
+	PrefsContext *prefTileSize = PrefsManager::instance().prefsFile->getContext("PagePalette");
+	prefTileSize->set("pagePreviewSize", height);
+	PrefsManager::instance().prefsFile->write();
 }
 
 void PageGrid::setFontSize(int size)
 {
+	if (m_fontSize == size)
+		return;
+
 	m_fontSize = size;
 	update();
 }
@@ -282,6 +285,9 @@
 
 void PageGrid::setSelectionColor(QColor color)
 {
+	if (m_colorSelection == color)
+		return;
+
 	m_colorSelection = color;
 	update();
 }

ale

2024-12-13 13:15

manager   ~0051726

hey,

i guess that if it's the same color in both cases, the line around the page in "Arrange Pages" is just slightly too thick for my taste...

cbradney

2024-12-13 18:38

administrator   ~0051727

Committed, plus reduced line width to 1

ale

2024-12-14 11:07

manager   ~0051729

yes!
the 1 px border makes the difference.

the blue progress bar is still there.
but i guess, one day, we will need to think about a general visual (and usability) improvement of the status bar.
and find a good concept for it.

Issue History

Date Modified Username Field Change
2024-12-13 08:48 ale New Issue
2024-12-13 08:48 ale File Added: a-comsetic-whish.png
2024-12-13 09:10 ale Note Added: 0051722
2024-12-13 11:56 nitramr Note Added: 0051723
2024-12-13 11:56 nitramr File Added: pageselection_2024-12-13_01.patch
2024-12-13 13:15 ale Note Added: 0051726
2024-12-13 18:38 cbradney Assigned To => nitramr
2024-12-13 18:38 cbradney Status new => resolved
2024-12-13 18:38 cbradney Resolution open => fixed
2024-12-13 18:38 cbradney Fixed in Version => 1.7.0.svn
2024-12-13 18:38 cbradney Note Added: 0051727
2024-12-14 10:28 cbradney Status resolved => closed
2024-12-14 11:07 ale Note Added: 0051729