View Issue Details

IDProjectCategoryView StatusLast Update
0012964ScribusUser Interfacepublic2016-11-04 15:35
Reporterbubu Assigned ToFirasH  
PrioritylowSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version1.5.0svn 
Target Version1.6 milestoneFixed in Version 
Summary0012964: Visual glitches in the Preferences / Document Setup dialog
Description1) There are some tabs, where the background colour is not correct. See the attached screenshots.
- Preferences > Document Setup > Margins & Bleeds == Document Setup > Document Setup > Margins & Bleeds
- Preferences > Item Tools > Images == Document Setup > Item Tools > Images
- Preferences > Item Tools > Text == Document Setup > Item Tools > Text
- Preferences > PDF Export > Color == Document Setup > PDF Export > Color
- Preferences > PDF Export > File Options == Document Setup > PDF Export > File Options
- Preferences > PDF Options > Pre-Press == Document Setup > PDF Options > Pre-Press

2) There is an unnecessary horizontal line on the bottom on this page:
- Preferences > Guides == Document Setup > Guides
TagsNo tags attached.
PatchNo

Activities

bubu

2015-03-22 12:11

reporter  

bubu

2015-03-22 12:12

reporter  

bubu

2015-03-22 12:12

reporter  

bubu

2015-03-22 12:12

reporter  

bubu

2015-03-22 12:12

reporter  

bubu

2015-03-22 12:12

reporter  

bubu

2015-03-22 12:13

reporter  

bubu

2015-03-22 12:14

reporter  

Preferences - Guides.png (103,826 bytes)
Preferences - Guides.png (103,826 bytes)

Kunda

2015-06-30 17:32

manager   ~0035586

Hey Bubu, help me out here. I'm on OSX and I don't see any of the issues you are referring to. Perhaps I'm not understanding the issue.
For example you mention in Issue 1 that 'background colour is not correct' I can't seem to see that in the screenshots you shared. Can you point that out for me ? I also didn't see this in OSX 10.10.3 1.5.1svn r20224

In issue 2) I can't find the "unnecessary horizontal line".

bubu

2015-06-30 22:40

reporter  

bubu

2015-06-30 22:40

reporter  

bubu

2015-06-30 22:41

reporter   ~0035595

ad 1) I attached new screenshots. Can you see the different background colour? (Ubuntu 15.04, Scribus Friends PPA, scribus-trunk)

ad 2) It seems to me, this bug is solved :). I can't reproduce in 1.5.0 nor in trunk.

simonaw

2015-07-01 14:28

reporter   ~0035600

I can see the difference. The thing is that the tab widgets appears to have a slightly lighter background (e.g. in "User Interface") while e.g. "Paths" only has one frame that appears in a darker shade of gray.

simonaw

2015-07-01 14:52

reporter  

scribus-preferences.png (39,144 bytes)
scribus-preferences.png (39,144 bytes)

simonaw

2015-07-01 14:53

reporter   ~0035601

When you set AutoFillBackground to true for all tab widgets you get a result as seen in my attached screenshot.

What do the devs think?

Kunda

2015-07-01 15:11

manager   ~0035602

Looks like it fixed it cosmetically for the most part. The Tab label itself is still not totally behaving correctly.

SimonAW: Where do you set the AutoFillBackground ?

simonaw

2015-07-01 17:23

reporter   ~0035606

Kunda: It is a QWidget property. So you would need to recompile Scribus.

Kunda

2015-07-01 23:23

manager   ~0035612

SimonAW, what would fix the color of the tab label background?

cbradney

2015-07-02 16:48

administrator   ~0035622

Tried locally on the QTabWidgets and it doesn't seem to have changed anything, I remember trying this before too.

Kunda

2016-05-29 10:14

manager   ~0041537

Last edited: 2016-05-29 10:26

View 2 revisions

Punting to FirasH to see if he can tweek this issue.

FirasH

2016-05-30 19:36

developer   ~0041575

I looked very fast at the issue. One solution could be changing QScrollArea color Palette (or we get dangerous drawbacks?).

FirasH

2016-05-31 20:42

developer   ~0041590

For testing purposes made a small patch for prefs_pdfexportbase.ui (see: File > Preferences > File Options/Color/Pre-Press).

FirasH

2016-05-31 20:42

developer  

12964-Test.diff (6,135 bytes)

diff --git a/scribus/ui/prefs_pdfexportbase.ui b/scribus/ui/prefs_pdfexportbase.ui
--- a/scribus/ui/prefs_pdfexportbase.ui
+++ b/scribus/ui/prefs_pdfexportbase.ui
@@ -240,6 +240,43 @@
       <layout class="QVBoxLayout" name="verticalLayout_7">
        <item>
         <widget class="QScrollArea" name="scrollArea_3">
+         <property name="palette">
+          <palette>
+           <active>
+            <colorrole role="Window">
+             <brush brushstyle="SolidPattern">
+              <color alpha="255">
+               <red>249</red>
+               <green>249</green>
+               <blue>249</blue>
+              </color>
+             </brush>
+            </colorrole>
+           </active>
+           <inactive>
+            <colorrole role="Window">
+             <brush brushstyle="SolidPattern">
+              <color alpha="255">
+               <red>249</red>
+               <green>249</green>
+               <blue>249</blue>
+              </color>
+             </brush>
+            </colorrole>
+           </inactive>
+           <disabled>
+            <colorrole role="Window">
+             <brush brushstyle="SolidPattern">
+              <color alpha="255">
+               <red>249</red>
+               <green>249</green>
+               <blue>249</blue>
+              </color>
+             </brush>
+            </colorrole>
+           </disabled>
+          </palette>
+         </property>
          <property name="frameShape">
           <enum>QFrame::NoFrame</enum>
          </property>
@@ -257,8 +294,8 @@
            <rect>
             <x>0</x>
             <y>0</y>
-            <width>577</width>
-            <height>455</height>
+            <width>608</width>
+            <height>450</height>
            </rect>
           </property>
           <layout class="QVBoxLayout" name="verticalLayout_19">
@@ -667,6 +704,43 @@
       <layout class="QVBoxLayout" name="verticalLayout_5">
        <item>
         <widget class="QScrollArea" name="scrollArea">
+         <property name="palette">
+          <palette>
+           <active>
+            <colorrole role="Window">
+             <brush brushstyle="SolidPattern">
+              <color alpha="255">
+               <red>249</red>
+               <green>249</green>
+               <blue>249</blue>
+              </color>
+             </brush>
+            </colorrole>
+           </active>
+           <inactive>
+            <colorrole role="Window">
+             <brush brushstyle="SolidPattern">
+              <color alpha="255">
+               <red>249</red>
+               <green>249</green>
+               <blue>249</blue>
+              </color>
+             </brush>
+            </colorrole>
+           </inactive>
+           <disabled>
+            <colorrole role="Window">
+             <brush brushstyle="SolidPattern">
+              <color alpha="255">
+               <red>249</red>
+               <green>249</green>
+               <blue>249</blue>
+              </color>
+             </brush>
+            </colorrole>
+           </disabled>
+          </palette>
+         </property>
          <property name="frameShape">
           <enum>QFrame::NoFrame</enum>
          </property>
@@ -681,8 +755,8 @@
            <rect>
             <x>0</x>
             <y>0</y>
-            <width>577</width>
-            <height>606</height>
+            <width>594</width>
+            <height>575</height>
            </rect>
           </property>
           <layout class="QVBoxLayout" name="verticalLayout_8">
@@ -991,6 +1065,70 @@
       <layout class="QVBoxLayout" name="verticalLayout_6">
        <item>
         <widget class="QScrollArea" name="scrollArea_2">
+         <property name="palette">
+          <palette>
+           <active>
+            <colorrole role="Base">
+             <brush brushstyle="SolidPattern">
+              <color alpha="255">
+               <red>255</red>
+               <green>255</green>
+               <blue>255</blue>
+              </color>
+             </brush>
+            </colorrole>
+            <colorrole role="Window">
+             <brush brushstyle="SolidPattern">
+              <color alpha="255">
+               <red>249</red>
+               <green>249</green>
+               <blue>249</blue>
+              </color>
+             </brush>
+            </colorrole>
+           </active>
+           <inactive>
+            <colorrole role="Base">
+             <brush brushstyle="SolidPattern">
+              <color alpha="255">
+               <red>255</red>
+               <green>255</green>
+               <blue>255</blue>
+              </color>
+             </brush>
+            </colorrole>
+            <colorrole role="Window">
+             <brush brushstyle="SolidPattern">
+              <color alpha="255">
+               <red>249</red>
+               <green>249</green>
+               <blue>249</blue>
+              </color>
+             </brush>
+            </colorrole>
+           </inactive>
+           <disabled>
+            <colorrole role="Base">
+             <brush brushstyle="SolidPattern">
+              <color alpha="255">
+               <red>249</red>
+               <green>249</green>
+               <blue>249</blue>
+              </color>
+             </brush>
+            </colorrole>
+            <colorrole role="Window">
+             <brush brushstyle="SolidPattern">
+              <color alpha="255">
+               <red>249</red>
+               <green>249</green>
+               <blue>249</blue>
+              </color>
+             </brush>
+            </colorrole>
+           </disabled>
+          </palette>
+         </property>
          <property name="frameShape">
           <enum>QFrame::NoFrame</enum>
          </property>
@@ -1008,8 +1146,8 @@
            <rect>
             <x>0</x>
             <y>0</y>
-            <width>577</width>
-            <height>436</height>
+            <width>608</width>
+            <height>450</height>
            </rect>
           </property>
           <layout class="QVBoxLayout" name="verticalLayout_18">
12964-Test.diff (6,135 bytes)

FirasH

2016-05-31 20:43

developer  

prefs_pdfexportbase.ui (66,389 bytes)

Kunda

2016-11-03 23:09

manager   ~0042313

@bubu can you test firash's patch ?

bubu

2016-11-04 15:35

reporter   ~0042321

@Kunda, I'm sorry, but I don't know how to test this patch.

Issue History

Date Modified Username Field Change
2015-03-22 12:11 bubu New Issue
2015-03-22 12:11 bubu File Added: Preferences - Document Setup - Margins & Bleeds.png
2015-03-22 12:12 bubu File Added: Preferences - Item Tools - Text.png
2015-03-22 12:12 bubu File Added: Preferences - Item Tools - Images.png
2015-03-22 12:12 bubu File Added: Preferences - PDF Export - File Options.png
2015-03-22 12:12 bubu File Added: Preferences - PDF Export - Color.png
2015-03-22 12:12 bubu File Added: Preferences - PDF Options - Pre-Press.png
2015-03-22 12:13 bubu File Added: Document Setup - Document Information - Further Information.png
2015-03-22 12:14 bubu File Added: Preferences - Guides.png
2015-03-23 07:06 christoph_s Priority normal => low
2015-03-23 07:06 christoph_s Target Version => 1.6 milestone
2015-06-30 17:32 Kunda Note Added: 0035586
2015-06-30 22:40 bubu File Added: Preferences - Document Setup - Margins & Bleeds (GTK+).png
2015-06-30 22:40 bubu File Added: Preferences - Document Setup - Margins & Bleeds (Fusion).png
2015-06-30 22:41 bubu Note Added: 0035595
2015-07-01 14:28 simonaw Note Added: 0035600
2015-07-01 14:52 simonaw File Added: scribus-preferences.png
2015-07-01 14:53 simonaw Note Added: 0035601
2015-07-01 15:11 Kunda Note Added: 0035602
2015-07-01 17:23 simonaw Note Added: 0035606
2015-07-01 17:40 Kunda Description Updated View Revisions
2015-07-01 17:40 Kunda Description Updated View Revisions
2015-07-01 19:44 Kunda Description Updated View Revisions
2015-07-01 23:23 Kunda Note Added: 0035612
2015-07-02 16:48 cbradney Note Added: 0035622
2016-05-29 10:13 Kunda Assigned To => FirasH
2016-05-29 10:13 Kunda Status new => assigned
2016-05-29 10:14 Kunda Note Added: 0041537
2016-05-29 10:26 Kunda Note Edited: 0041537 View Revisions
2016-05-30 19:36 FirasH Note Added: 0041575
2016-05-31 20:42 FirasH Note Added: 0041590
2016-05-31 20:42 FirasH File Added: 12964-Test.diff
2016-05-31 20:43 FirasH File Added: prefs_pdfexportbase.ui
2016-11-03 23:09 Kunda Note Added: 0042313
2016-11-04 15:35 bubu Note Added: 0042321