KDE Bug Tracking System
Home
Report New Wish or Bug
Query Existing Reports
First
Last
Prev
Next
No search results available
Search page
Bug
130485
:
Brush Shapes toolbar starts with wrong item.
P
roduct
:
krita
Co
m
ponent
:
general
Status
:
RESOLVED
Resolution
:
FIXED
Target
:
---
Version
:
unspecified
Pr
i
ority
:
NOR
Severity
:
normal
V
otes
:
0
Description
:
Opened:
2006-07-08 23:45
Last Changed:
2006-11-03 12:08:35
Version: 1.5.9 (using KDE 3.5.3, compiled sources) Compiler: Target: x86_64-linux-gnu OS: Linux (x86_64) release 2.6.13.2 Start a fresh krita and notice how the Brush Shapes toolbar (at the top) has a small predefined brush selected. Click on the toolbutton and the brush selection opens. To my surprise I see that another brush is selected, the diagonal one. I expected the round one to be selected there as well.
Comment
#1
boud valdyas org 2006-07-09 15:09:19
The selected brush is an autobrush in this case, not one from the selection of prebuilt brushes.
Comment
#2
boud valdyas org 2006-11-03 12:00:23
Fixed by showing the autobrush tab first (it's a more useful tab anyway)
Comment
#3
boud valdyas org 2006-11-03 12:05:24
SVN commit 601447 by rempt: Show the autobrush tab first. CCBUG: 130485 M +3 -3 kis_controlframe.cc --- branches/koffice/1.6/koffice/krita/ui/kis_controlframe.cc #601446:601447 @@ -229,13 +229,13 @@ l->add(m_brushesTab); - KisBrushChooser * m_brushChooser = new KisBrushChooser(m_brushesTab, "brush_chooser"); - m_brushesTab->addTab( m_brushChooser, i18n("Predefined Brushes")); - KisAutobrush * m_autobrush = new KisAutobrush(m_brushesTab, "autobrush", i18n("Autobrush")); m_brushesTab->addTab( m_autobrush, i18n("Autobrush")); connect(m_autobrush, SIGNAL(activatedResource(KisResource*)), m_view, SLOT(brushActivated( KisResource* ))); + KisBrushChooser * m_brushChooser = new KisBrushChooser(m_brushesTab, "brush_chooser"); + m_brushesTab->addTab( m_brushChooser, i18n("Predefined Brushes")); + KisCustomBrush* customBrushes = new KisCustomBrush(m_brushesTab, "custombrush", i18n("Custom Brush"), m_view); m_brushesTab->addTab( customBrushes, i18n("Custom Brush"));
Comment
#4
boud valdyas org 2006-11-03 12:08:34
SVN commit 601453 by rempt: Fix
bug 130485
CCBUG: 130485 M +4 -3 kis_view.cc M +1 -1 kis_view.h --- trunk/koffice/krita/ui/obsolete/kis_view.cc #601452:601453 @@ -630,10 +630,11 @@ m_layerDup = new KAction(i18n("Duplicate"), actionCollection(), "duplicate_layer"); connect(m_layerDup, SIGNAL(triggered()), this, SLOT(layerDuplicate())); - m_layerHide = new KAction(i18n("&Hide/Show"), actionCollection(), "hide_layer"); - connect(m_layerHide, SIGNAL(triggered()), this, SLOT(layerToggleVisible())); - m_layerRaise = new KAction(KIcon("raise"), i18n("Raise"), actionCollection(), "raiselayer"); + m_layerHide = new KToggleAction(i18n("&Hide"), 0, this, SLOT(layerToggleVisible()), actionCollection(), "hide_layer"); + m_layerHide->setCheckedState(KGuiItem(i18n("&Show"))); + m_layerHide->setChecked(false)_layerRaise = new KAction(KIcon("raise"), i18n("Raise"), actionCollection(), "raiselayer"); + m_layerRaise->setShortcut(Qt::CTRL+Qt::Key_BracketRight); connect(m_layerRaise, SIGNAL(triggered()), this, SLOT(layerRaise())); --- trunk/koffice/krita/ui/obsolete/kis_view.h #601452:601453 @@ -554,7 +554,7 @@ KAction *m_layerAdd; KAction *m_layerBottom; KAction *m_layerDup; - KAction *m_layerHide; + KToggleAction *m_layerHide; KAction *m_layerLower; KAction *m_layerProperties; KAction *m_layerRaise;
P
latform
:
unspecified
O
S
:
Linux
K
eywords
:
U
RL
:
People
Reporter
:
Thomas Zander
Assigned To
:
Related actions
View Bug Activity
Format For Printing
XML
Clone This Bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Attachments
Add an attachment
(proposed patch, testcase, etc.)
Depends on
:
B
locks
:
Show dependency tree
-
Show dependency graph
First
Last
Prev
Next
No search results available
Search page
Actions
Reports
Requests
Reports
Bugs reported today
Bugs reported in the last 3 days
Bug reports with patches
Weekly Bug statistics
The most hated bugs
The most severe bugs
The most frequently reported bugs
The most wanted features
Junior Jobs
Report ownership counts and charts
My Account
New Account
Log In