issue200:inkscape
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
issue200:inkscape [2024/01/01 08:08] – d52fr | issue200:inkscape [2024/01/03 16:42] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 2: | Ligne 2: | ||
With version 1.2 both these older dialogs were removed, and their functionality combined into a single ‘Layers and Objects’ dialog. In order to avoid too much confusion for long-time users, it’s available from both the Layer menu and the Object menu, so if you were used to opening either of the older dialogs from the menus you’ll still manage to find the new one. Similarly the old Layers button in the main toolbar will open the dialog, as will the Ctrl-Shift-L keyboard shortcut. One small annoyance, in my view, is that the tooltip on the toolbar button describes it simply as ‘Open Objects’ and doesn’t mention layers at all. This is particularly jarring as the ‘L’ in the keyboard shortcut is a lot easier to remember if you think of it as the ‘Layers and Objects’ dialog.** | With version 1.2 both these older dialogs were removed, and their functionality combined into a single ‘Layers and Objects’ dialog. In order to avoid too much confusion for long-time users, it’s available from both the Layer menu and the Object menu, so if you were used to opening either of the older dialogs from the menus you’ll still manage to find the new one. Similarly the old Layers button in the main toolbar will open the dialog, as will the Ctrl-Shift-L keyboard shortcut. One small annoyance, in my view, is that the tooltip on the toolbar button describes it simply as ‘Open Objects’ and doesn’t mention layers at all. This is particularly jarring as the ‘L’ in the keyboard shortcut is a lot easier to remember if you think of it as the ‘Layers and Objects’ dialog.** | ||
+ | |||
+ | Pendant longtemps, les utilisateurs ont réclamé à cor et à cri qu' | ||
+ | |||
+ | Avec la version 1.2, ces deux anciennes boîtes de dialogue ont été supprimées et leurs fonctionnalités ont été regroupées dans une seule boîte de dialogue « Calques et objets ». Afin d' | ||
+ | |||
**The image below shows the dialog as it appears in version 1.3. The key features are present in version 1.2, but the later release adds a few extra bits that are worth discussing. | **The image below shows the dialog as it appears in version 1.3. The key features are present in version 1.2, but the later release adds a few extra bits that are worth discussing. | ||
Ligne 15: | Ligne 20: | ||
Item 1 only appears on layer or groups, and only those that contain other objects. Items 4, 5 and 6 are visible as you hover over a row with the mouse. Clicking on these three in order to change the defaults can result in them remaining visible even when the mouse has moved away – I’ll describe that in a bit more detail below.** | Item 1 only appears on layer or groups, and only those that contain other objects. Items 4, 5 and 6 are visible as you hover over a row with the mouse. Clicking on these three in order to change the defaults can result in them remaining visible even when the mouse has moved away – I’ll describe that in a bit more detail below.** | ||
+ | |||
+ | L' | ||
+ | |||
+ | Chaque objet, groupe ou calque du document dispose de sa propre ligne dans cette boîte de dialogue, qui affiche les éléments suivants : | ||
+ | ••Un indicateur pour montrer si le calque ou le groupe a été développé. | ||
+ | ••Une icône symbolique colorée représentant le type d' | ||
+ | ••L' | ||
+ | ••Une icône indiquant l' | ||
+ | ••Une icône indiquant si l' | ||
+ | ••Une icône indiquant si l' | ||
+ | ••Une fine tache dont la couleur correspond à celle de l' | ||
+ | |||
+ | L' | ||
+ | |||
**The colors assigned to each topmost layer are drawn from a palette of 8 values, based on the label of the object. Try creating layers named “1” to “8” to see what colors are used in your chosen theme – and throw in a “9” or a “0” if you want to prove there are only 8 in use. Here are the default colors on my system: | **The colors assigned to each topmost layer are drawn from a palette of 8 values, based on the label of the object. Try creating layers named “1” to “8” to see what colors are used in your chosen theme – and throw in a “9” or a “0” if you want to prove there are only 8 in use. Here are the default colors on my system: | ||
Ligne 21: | Ligne 40: | ||
Eagle-eyed readers will have noticed that I said “the colors assigned to each topmost layer”, rather than to each object. The labels of individual objects and groups – and even of sub-layers – have no bearing on the initial color that is applied. That comes entirely from the color of the topmost layer for that part of the tree. This leads to all the objects within each top layer being given the same icon color, which can be a bit of a problem if you’re the sort of person who keeps the whole structure of your drawing inside a single top-level layer.** | Eagle-eyed readers will have noticed that I said “the colors assigned to each topmost layer”, rather than to each object. The labels of individual objects and groups – and even of sub-layers – have no bearing on the initial color that is applied. That comes entirely from the color of the topmost layer for that part of the tree. This leads to all the objects within each top layer being given the same icon color, which can be a bit of a problem if you’re the sort of person who keeps the whole structure of your drawing inside a single top-level layer.** | ||
+ | |||
+ | Les couleurs attribuées à chaque calque de plus haut niveau sont tirées d'une palette de 8 valeurs, basée sur l' | ||
+ | |||
+ | Le fait que ces couleurs soient attribuées en fonction de l' | ||
+ | |||
+ | Les lecteurs attentifs auront remarqué que j'ai dit « les couleurs attribuées à chaque calque de plus haut niveau », plutôt qu'à chaque objet. Les étiquettes des objets individuels et des groupes - et même des sous-calques - n'ont aucune incidence sur la couleur initiale qui est appliquée. Celle-ci provient entièrement de la couleur du calque supérieur pour cette partie de l' | ||
+ | |||
**To help address this, it’s possible to override the default color for each item in the tree by clicking on the thin swatch at the right. This brings up a small color-picker dialog in which you can change the icon’s color. If you do this on a layer, sub-layer or group, any elements created within it will be given the new color for their icon. Any existing descendent objects will also be updated to the new color, unless they’ve been explicitly overridden (or they’re in a sub-layer or group that has). The dialog provides no way to remove an override and revert back to automatic assignment. If you really want to do that, it will require a trip to the XML Editor to remove the ‘inkscape: | **To help address this, it’s possible to override the default color for each item in the tree by clicking on the thin swatch at the right. This brings up a small color-picker dialog in which you can change the icon’s color. If you do this on a layer, sub-layer or group, any elements created within it will be given the new color for their icon. Any existing descendent objects will also be updated to the new color, unless they’ve been explicitly overridden (or they’re in a sub-layer or group that has). The dialog provides no way to remove an override and revert back to automatic assignment. If you really want to do that, it will require a trip to the XML Editor to remove the ‘inkscape: | ||
One rather annoying aspect of the color-picker dialog is that it affects the row whose swatch was last clicked, not the currently selected row. So if you wish to change the icon color for several items you will need to do it one-at-a-time, | One rather annoying aspect of the color-picker dialog is that it affects the row whose swatch was last clicked, not the currently selected row. So if you wish to change the icon color for several items you will need to do it one-at-a-time, | ||
+ | |||
+ | Pour remédier à ce problème, il est possible de remplacer la couleur par défaut de chaque élément de l' | ||
+ | |||
+ | Un aspect plutôt ennuyeux du dialogue de sélection des couleurs est qu'il affecte la ligne dont l' | ||
+ | |||
**Let’s move past the color of the symbolic icon and onto its shape. The choice of icon reflects the type of Inkscape object you’re looking at. The specific icons vary between themes but, on my system, layers and sub-layers appear with a page icon, groups with a folder icon, text with a “T”, and so on. If an object is clipped or masked, it also gains a small badge on the icon to indicate that state – and if a clipped object has a masked applied, or a masked object is then clipped, you do get both badges. | **Let’s move past the color of the symbolic icon and onto its shape. The choice of icon reflects the type of Inkscape object you’re looking at. The specific icons vary between themes but, on my system, layers and sub-layers appear with a page icon, groups with a folder icon, text with a “T”, and so on. If an object is clipped or masked, it also gains a small badge on the icon to indicate that state – and if a clipped object has a masked applied, or a masked object is then clipped, you do get both badges. | ||
Ligne 31: | Ligne 62: | ||
Speaking of those labels, this dialog is perhaps a more useful place to set them than via the Object Properties dialog. Just double-click on a label to edit it in-place. Don’t forget that changing the label of a top-level layer may also change the color of its icon, and those of its descendants. Do note, however, that the label is an Inkscape-specific thing that is purely there for your convenience. I tend to set the labels on layers and perhaps a few key groups or objects, but it’s rarely worth trying to set sensible labels on everything. It also doesn’t change the XML ID of the object, so JavaScript developers who want to use specific IDs for their code to reference will still need to open the Object Properties dialog or the XML Editor.** | Speaking of those labels, this dialog is perhaps a more useful place to set them than via the Object Properties dialog. Just double-click on a label to edit it in-place. Don’t forget that changing the label of a top-level layer may also change the color of its icon, and those of its descendants. Do note, however, that the label is an Inkscape-specific thing that is purely there for your convenience. I tend to set the labels on layers and perhaps a few key groups or objects, but it’s rarely worth trying to set sensible labels on everything. It also doesn’t change the XML ID of the object, so JavaScript developers who want to use specific IDs for their code to reference will still need to open the Object Properties dialog or the XML Editor.** | ||
+ | |||
+ | Passons de la couleur de l' | ||
+ | |||
+ | Il est très important de noter que l' | ||
+ | |||
+ | En ce qui concerne les étiquettes, | ||
+ | |||
**Moving on to the three icons that appear when you hover over a row, I’m going to skip the first one and come back to it shortly. The second and third are used to indicate the visibility and locked state of the object. The default for any object is for it to be both visible and unlocked, so Inkscape doesn’t bother to show the icons on rows where that’s the case. The only exception is the currently hovered row, where those icons also act as buttons to toggle the state. If you make the object invisible or locked, the corresponding icon remains visible even when you’re no longer hovering over the row, making it easy to see which objects are in the non-default state. | **Moving on to the three icons that appear when you hover over a row, I’m going to skip the first one and come back to it shortly. The second and third are used to indicate the visibility and locked state of the object. The default for any object is for it to be both visible and unlocked, so Inkscape doesn’t bother to show the icons on rows where that’s the case. The only exception is the currently hovered row, where those icons also act as buttons to toggle the state. If you make the object invisible or locked, the corresponding icon remains visible even when you’re no longer hovering over the row, making it easy to see which objects are in the non-default state. | ||
Ligne 37: | Ligne 75: | ||
Much like these two controls, the first icon of the three is also hidden when the object is in its default state, but this is not a simple on/off toggle like the others. This control is used to indicate and change both the opacity of the object, and its blend mode. Before describing this in more detail, it’s worth considering why such a control has been added, by taking a look at the Layers dialog from version 0.92:** | Much like these two controls, the first icon of the three is also hidden when the object is in its default state, but this is not a simple on/off toggle like the others. This control is used to indicate and change both the opacity of the object, and its blend mode. Before describing this in more detail, it’s worth considering why such a control has been added, by taking a look at the Layers dialog from version 0.92:** | ||
+ | |||
+ | En ce qui concerne les trois icônes qui apparaissent lorsque vous survolez une ligne, je vais sauter la première et y revenir plus tard. Les deuxième et troisième icônes sont utilisées pour indiquer la visibilité et l' | ||
+ | |||
+ | Si ces icônes sont activées sur un calque ou un groupe, les descendants obtiennent une version translucide de l' | ||
+ | |||
+ | À l' | ||
+ | |||
**At the bottom are convenience controls for selecting the layer’s blend mode and opacity. To be honest, I would imagine that the blend mode popup was rarely used beyond a little experimentation. Blend modes can definitely have their uses, but although they can be used to great effect in a bitmap editor, I’ve hardly ever found a need for them in a vector graphics program. Nevertheless, | **At the bottom are convenience controls for selecting the layer’s blend mode and opacity. To be honest, I would imagine that the blend mode popup was rarely used beyond a little experimentation. Blend modes can definitely have their uses, but although they can be used to great effect in a bitmap editor, I’ve hardly ever found a need for them in a vector graphics program. Nevertheless, | ||
Ligne 43: | Ligne 88: | ||
In 1.3 those controls have made it into the new dialog, in the form of that first control in the trio. Personally I would have made it a quartet of controls, and kept the Opacity and Blend Mode as separate things but, instead, clicking on that icon presents a pop-up which combines both of them, looking like this:** | In 1.3 those controls have made it into the new dialog, in the form of that first control in the trio. Personally I would have made it a quartet of controls, and kept the Opacity and Blend Mode as separate things but, instead, clicking on that icon presents a pop-up which combines both of them, looking like this:** | ||
+ | |||
+ | En bas, des commandes pratiques permettent de sélectionner le mode de fusion et l' | ||
+ | |||
+ | Avec le nouveau dialogue de la version 1.2, ces contrôles n'ont pas été retenus. Le conseil donné aux utilisateurs qui voulaient utiliser les modes de fusion était de les ajouter via l' | ||
+ | |||
+ | Dans la version 1.3, ces contrôles ont été intégrés dans la nouvelle boîte de dialogue, sous la forme du premier contrôle du trio. Personnellement, | ||
+ | |||
**As you can see, this pop-up allows you to adjust the Opacity using a slider, and choose the Blend Mode using a collection of radio buttons. Frustratingly there’s no numeric input for the Opacity slider, so if you want a specific value you may have to manage it via the Fill & Stroke dialog anyway. Incidentally, | **As you can see, this pop-up allows you to adjust the Opacity using a slider, and choose the Blend Mode using a collection of radio buttons. Frustratingly there’s no numeric input for the Opacity slider, so if you want a specific value you may have to manage it via the Fill & Stroke dialog anyway. Incidentally, | ||
Ligne 49: | Ligne 101: | ||
The first, a fully filled single square, is what you’ll see when hovering over an object with the default settings. If you reduce the opacity to anything less than 100%, but greater than 0%, the second icon will be displayed. The third appears for objects with 0% opacity. I really do mean 0% - even a 0.1% opacity, despite appearing completely transparent to the human eye, will be displayed with the second icon.** | The first, a fully filled single square, is what you’ll see when hovering over an object with the default settings. If you reduce the opacity to anything less than 100%, but greater than 0%, the second icon will be displayed. The third appears for objects with 0% opacity. I really do mean 0% - even a 0.1% opacity, despite appearing completely transparent to the human eye, will be displayed with the second icon.** | ||
+ | |||
+ | Comme vous pouvez le voir, cette fenêtre vous permet d' | ||
+ | |||
+ | Les valeurs par défaut pour un objet sont 100 % d' | ||
+ | |||
+ | La première, un carré unique entièrement rempli, est ce que vous verrez lorsque vous survolerez un objet avec les paramètres par défaut. Si vous réduisez l' | ||
+ | |||
**If you change the blend mode, but leave the opacity at 100%, you’ll get the fourth icon. The fifth is for a non-Normal blend mode and less than 100% (but more than 0%) opacity. There isn’t a specific icon for a non-normal blend mode with 0% opacity, and the icon from row 3 is re-used. I guess this makes some sense, because a blend mode doesn’t really have an effect on a fully transparent object, but I’d still prefer to see that state called out explicitly. | **If you change the blend mode, but leave the opacity at 100%, you’ll get the fourth icon. The fifth is for a non-Normal blend mode and less than 100% (but more than 0%) opacity. There isn’t a specific icon for a non-normal blend mode with 0% opacity, and the icon from row 3 is re-used. I guess this makes some sense, because a blend mode doesn’t really have an effect on a fully transparent object, but I’d still prefer to see that state called out explicitly. | ||
Ligne 55: | Ligne 114: | ||
The last thing to mention in this dialog is the toolbar at the top. Version 1.2 had a simplified version of this, lacking the search box and settings button. But it did start with a toggle to switch between a view that includes all objects and one that shows only layers – the latter mode mimicking the Layers dialog from earlier releases for those users who never really found much need for a list of every object in the document (I’m one of them). This option is still available, but has been moved into the Settings pop-up, which unfortunately makes it a little less practical to switch back and forth between the two modes as the need arises.** | The last thing to mention in this dialog is the toolbar at the top. Version 1.2 had a simplified version of this, lacking the search box and settings button. But it did start with a toggle to switch between a view that includes all objects and one that shows only layers – the latter mode mimicking the Layers dialog from earlier releases for those users who never really found much need for a list of every object in the document (I’m one of them). This option is still available, but has been moved into the Settings pop-up, which unfortunately makes it a little less practical to switch back and forth between the two modes as the need arises.** | ||
+ | |||
+ | Si vous modifiez le mode de fusion, mais que vous laissez l' | ||
+ | |||
+ | Chaque ligne de cette boîte de dialogue dispose également d'un menu contextuel identique à celui que vous obtiendriez en cliquant avec le bouton droit de la souris sur le même objet dans le canevas. Un raccourci pratique à retenir est d' | ||
+ | |||
+ | La dernière chose à mentionner dans cette boîte de dialogue est la barre d' | ||
+ | |||
**The second button on 1.2, or the first on 1.3, is used to create a new layer, opening the same small dialog as we’re used to from earlier releases. The Up/Down buttons shift the selected object(s) up and down the list – which also moves them up and down in the z-order. When multiple items are selected, each is moved relative to its siblings, but the entire operation is prevented if any one of them is unable to move any further. Then there’s a delete button which will delete the selected object(s) or layer(s) immediately. | **The second button on 1.2, or the first on 1.3, is used to create a new layer, opening the same small dialog as we’re used to from earlier releases. The Up/Down buttons shift the selected object(s) up and down the list – which also moves them up and down in the z-order. When multiple items are selected, each is moved relative to its siblings, but the entire operation is prevented if any one of them is unable to move any further. Then there’s a delete button which will delete the selected object(s) or layer(s) immediately. | ||
The Settings button has the ‘Only show layers’ option described above, but also an ‘Expand to display selection’ option. I recommend leaving this one enabled, as it causes the dialog to automatically expand any layers, sub-layers and groups that are required to ensure the selected object is visible in the tree. Turning this off stops the tree from ‘jumping around’ so much, but can make it less obvious which object is selected.** | The Settings button has the ‘Only show layers’ option described above, but also an ‘Expand to display selection’ option. I recommend leaving this one enabled, as it causes the dialog to automatically expand any layers, sub-layers and groups that are required to ensure the selected object is visible in the tree. Turning this off stops the tree from ‘jumping around’ so much, but can make it less obvious which object is selected.** | ||
+ | |||
+ | Le deuxième bouton sur la version 1.2, ou le premier sur la version 1.3, sert à créer un nouveau calque, en ouvrant la même petite boîte de dialogue que celle à laquelle nous sommes habitués depuis les versions précédentes. Les boutons Haut/Bas déplacent le ou les objets sélectionnés vers le haut ou le bas de la liste - ce qui les déplace également vers le haut ou le bas dans l' | ||
+ | |||
+ | Le bouton Paramètres propose l' | ||
+ | |||
**Finally, version 1.3 introduces a search box. Typing something into this and pressing Enter will filter the list to show only objects that match the string. The search is case-insensitive and will match a substring, and the test is performed against not only the label, but also the ID. No other attributes or text nodes are searched, so you can’t use this to filter by color or the contents of a text object, for example. To return to the complete list of objects, use the button in the search field to clear it – there’s no need to press Enter in this case. | **Finally, version 1.3 introduces a search box. Typing something into this and pressing Enter will filter the list to show only objects that match the string. The search is case-insensitive and will match a substring, and the test is performed against not only the label, but also the ID. No other attributes or text nodes are searched, so you can’t use this to filter by color or the contents of a text object, for example. To return to the complete list of objects, use the button in the search field to clear it – there’s no need to press Enter in this case. | ||
The addition of this feature is undoubtedly an improvement over the old Objects dialog, and it does make a lot of sense to have a single UI that shows both objects and layers. There are a few small design choices that I might have made differently, | The addition of this feature is undoubtedly an improvement over the old Objects dialog, and it does make a lot of sense to have a single UI that shows both objects and layers. There are a few small design choices that I might have made differently, | ||
+ | |||
+ | Enfin, la version 1.3 introduit un champ de recherche. En tapant quelque chose dans ce champ et en appuyant sur Entrée, la liste sera filtrée pour n' | ||
+ | |||
+ | L' | ||
issue200/inkscape.1704092923.txt.gz · Dernière modification : 2024/01/01 08:08 de d52fr